forked from chookspace/chookchat
		
	Fix critical mobile WebKit bug
This commit is contained in:
		@@ -80,7 +80,9 @@ function connect() {
 | 
			
		||||
    var incorrectDetail = 0;
 | 
			
		||||
 | 
			
		||||
    ws.onopen = () => {
 | 
			
		||||
        Notification.requestPermission();
 | 
			
		||||
        if (typeof Notification !== "undefined") {
 | 
			
		||||
            Notification.requestPermission();
 | 
			
		||||
        }
 | 
			
		||||
        console.log('Connected!');
 | 
			
		||||
        document.getElementById('login').style.display = 'none';
 | 
			
		||||
        document.getElementById('messaging').style.display = 'block';
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user