mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-02-05 07:29:57 +00:00
remove redundant load
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user