Jelajahi Sumber

fix attempt #1

DrMelone 10 bulan lalu
induk
melakukan
8b80555adf
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      src/lib/components/layout/Sidebar.svelte

+ 2 - 2
src/lib/components/layout/Sidebar.svelte

@@ -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');