remove redundant load
This commit is contained in:
parent
40dc0132df
commit
54291f9d63
@ -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…
Reference in New Issue
Block a user