diff --git a/searx/webapp.py b/searx/webapp.py index 616789dd2..6d3a0ad91 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -907,7 +907,6 @@ def search(): function move(e) { modal.style.left = e.targetTouches[0].pageX - x + 'px'; modal.style.top = e.targetTouches[0].pageY - y + 'px'; - e.preventDefault(); } // (3) 鼠标弹起,就让鼠标移动事件移除 document.addEventListener('touchend', function () { diff --git a/searx/webapp1.py b/searx/webapp1.py index 616789dd2..6d3a0ad91 100644 --- a/searx/webapp1.py +++ b/searx/webapp1.py @@ -907,7 +907,6 @@ def search(): function move(e) { modal.style.left = e.targetTouches[0].pageX - x + 'px'; modal.style.top = e.targetTouches[0].pageY - y + 'px'; - e.preventDefault(); } // (3) 鼠标弹起,就让鼠标移动事件移除 document.addEventListener('touchend', function () {