Skip to content
Snippets Groups Projects
Commit fd183591 authored by syuilo's avatar syuilo
Browse files

Better detection

parent a8f51e8e
No related branches found
No related tags found
No related merge requests found
......@@ -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 など' +
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment