Better detection
This commit is contained in:
		
							parent
							
								
									a8f51e8e86
								
							
						
					
					
						commit
						fd18359178
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -13,7 +13,7 @@ if (!('fetch' in window)) {
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Detect Edge
 | 
					// Detect Edge
 | 
				
			||||||
if (navigator.userAgent.indexOf('Edge') != -1) {
 | 
					if (navigator.userAgent.toLowerCase().indexOf('edge') != -1) {
 | 
				
			||||||
	alert(
 | 
						alert(
 | 
				
			||||||
		'現在、お使いのブラウザ(Microsoft Edge)ではMisskeyは正しく動作しません。' +
 | 
							'現在、お使いのブラウザ(Microsoft Edge)ではMisskeyは正しく動作しません。' +
 | 
				
			||||||
		'サポートしているブラウザ: Google Chrome, Mozilla Firefox, Apple Safari など' +
 | 
							'サポートしているブラウザ: Google Chrome, Mozilla Firefox, Apple Safari など' +
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue