mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-24 19:01:06 -08:00
remove redundant load
This commit is contained in:
parent
40dc0132df
commit
54291f9d63
1 changed files with 0 additions and 5 deletions
|
|
@ -220,11 +220,6 @@ document.addEventListener("DOMContentLoaded", function() {
|
|||
modal.tabIndex = 0
|
||||
modal.addEventListener('keydown', modalKeyHandler, true)
|
||||
|
||||
// detect gamepads and enable related functionality
|
||||
let gamepadScript = document.createElement('script');
|
||||
gamepadScript.src = 'imageviewerGamepad.js';
|
||||
document.body.appendChild(gamepadScript);
|
||||
|
||||
const modalControls = document.createElement('div')
|
||||
modalControls.className = 'modalControls gradio-container';
|
||||
modal.append(modalControls);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue