未验证 提交 54291f9d 编写于 作者: U unknown

remove redundant load

上级 40dc0132
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册