mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-29 10:57:44 +09:00 
			
		
		
		
	Should eliminate a error in the Firefox console regarding the connection being interrupted while the page was loading.
This commit is contained in:
		| @@ -52,6 +52,9 @@ export function initNotificationCount() { | ||||
|       source.close(); | ||||
|       window.location.href = AppSubUrl; | ||||
|     }); | ||||
|     window.addEventListener('beforeunload', () => { | ||||
|       source.close(); | ||||
|     }); | ||||
|     return; | ||||
|   } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user