mirror of
				https://github.com/nerzhul/ocsms.git
				synced 2025-10-28 00:49:11 +00:00 
			
		
		
		
	Temporary Fix https://github.com/nerzhul/ownCloud-SMS-App/issues/10
We disable HTML 5 notification is there isn't browser support (IE for example) We need a portable library later.
This commit is contained in:
		
							parent
							
								
									0cc56794fd
								
							
						
					
					
						commit
						d87e245236
					
				| @ -303,6 +303,10 @@ function fetchInitialPeerList(jsondata) { | ||||
| } | ||||
| 
 | ||||
| function initDesktopNotifies() { | ||||
| 	if (!("Notification" in window)) { | ||||
| 		return; | ||||
| 	} | ||||
| 	 | ||||
| 	Notification.requestPermission(function (permission) { | ||||
| 		if(!('permission' in Notification)) { | ||||
| 			Notification.permission = permission; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user