mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
c
This commit is contained in:
parent
86687a54a2
commit
e218b9ea1b
2 changed files with 0 additions and 2 deletions
|
@ -907,7 +907,6 @@ def search():
|
||||||
function move(e) {
|
function move(e) {
|
||||||
modal.style.left = e.targetTouches[0].pageX - x + 'px';
|
modal.style.left = e.targetTouches[0].pageX - x + 'px';
|
||||||
modal.style.top = e.targetTouches[0].pageY - y + 'px';
|
modal.style.top = e.targetTouches[0].pageY - y + 'px';
|
||||||
e.preventDefault();
|
|
||||||
}
|
}
|
||||||
// (3) 鼠标弹起,就让鼠标移动事件移除
|
// (3) 鼠标弹起,就让鼠标移动事件移除
|
||||||
document.addEventListener('touchend', function () {
|
document.addEventListener('touchend', function () {
|
||||||
|
|
|
@ -907,7 +907,6 @@ def search():
|
||||||
function move(e) {
|
function move(e) {
|
||||||
modal.style.left = e.targetTouches[0].pageX - x + 'px';
|
modal.style.left = e.targetTouches[0].pageX - x + 'px';
|
||||||
modal.style.top = e.targetTouches[0].pageY - y + 'px';
|
modal.style.top = e.targetTouches[0].pageY - y + 'px';
|
||||||
e.preventDefault();
|
|
||||||
}
|
}
|
||||||
// (3) 鼠标弹起,就让鼠标移动事件移除
|
// (3) 鼠标弹起,就让鼠标移动事件移除
|
||||||
document.addEventListener('touchend', function () {
|
document.addEventListener('touchend', function () {
|
||||||
|
|
Loading…
Add table
Reference in a new issue