remove redundant load

This commit is contained in:
unknown 2023-03-15 04:33:38 -05:00
parent 40dc0132df
commit 54291f9d63
No known key found for this signature in database
GPG Key ID: CA376082283AF69A

View File

@ -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);