mirror of
https://git.mirrors.martin98.com/https://github.com/open-webui/open-webui
synced 2025-08-18 10:05:54 +08:00
fix attempt #1
This commit is contained in:
parent
82716f3789
commit
8b80555adf
@ -366,7 +366,7 @@
|
|||||||
window.addEventListener('touchend', onTouchEnd);
|
window.addEventListener('touchend', onTouchEnd);
|
||||||
|
|
||||||
window.addEventListener('focus', onFocus);
|
window.addEventListener('focus', onFocus);
|
||||||
window.addEventListener('blur-sm', onBlur);
|
window.addEventListener('blur', onBlur);
|
||||||
|
|
||||||
const dropZone = document.getElementById('sidebar');
|
const dropZone = document.getElementById('sidebar');
|
||||||
|
|
||||||
@ -383,7 +383,7 @@
|
|||||||
window.removeEventListener('touchend', onTouchEnd);
|
window.removeEventListener('touchend', onTouchEnd);
|
||||||
|
|
||||||
window.removeEventListener('focus', onFocus);
|
window.removeEventListener('focus', onFocus);
|
||||||
window.removeEventListener('blur-sm', onBlur);
|
window.removeEventListener('blur', onBlur);
|
||||||
|
|
||||||
const dropZone = document.getElementById('sidebar');
|
const dropZone = document.getElementById('sidebar');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user