summaryrefslogtreecommitdiff
path: root/src/web
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-11-20 04:42:42 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-11-20 04:42:42 +0900
commit39778c8458c46c847671e927cc31efd4bea5c1c6 (patch)
tree8857b717ab0022fab322742ebe361af073aa1df8 /src/web
parentInsert missing whitespace (diff)
downloadmisskey-39778c8458c46c847671e927cc31efd4bea5c1c6.tar.gz
misskey-39778c8458c46c847671e927cc31efd4bea5c1c6.tar.bz2
misskey-39778c8458c46c847671e927cc31efd4bea5c1c6.zip
:v:
Diffstat (limited to 'src/web')
-rw-r--r--src/web/app/safe.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/app/safe.js b/src/web/app/safe.js
index a29ba4d87f..6a0f22fe6c 100644
--- a/src/web/app/safe.js
+++ b/src/web/app/safe.js
@@ -13,7 +13,7 @@ if (!('fetch' in window)) {
}
// Detect Edge
-if (navigator.userAgent.indexOf('Edge')) {
+if (navigator.userAgent.indexOf('Edge') != -1) {
alert(
'現在、お使いのブラウザ(Microsoft Edge)ではMisskeyは正しく動作しません。' +
'サポートしているブラウザ: Google Chrome, Mozilla Firefox, Apple Safari など' +