Unverified Commit 54291f9d authored by unknown's avatar unknown
Browse files

remove redundant load

parent 40dc0132
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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);