mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 05:23:08 +02:00
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
|
||||
if (navigator.userAgent.indexOf('Edge') != -1) {
|
||||
if (navigator.userAgent.toLowerCase().indexOf('edge') != -1) {
|
||||
alert(
|
||||
'現在、お使いのブラウザ(Microsoft Edge)ではMisskeyは正しく動作しません。' +
|
||||
'サポートしているブラウザ: Google Chrome, Mozilla Firefox, Apple Safari など' +
|
||||
|
|
Loading…
Reference in a new issue