mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update dialogs
This commit is contained in:
parent
62e03ef0be
commit
e156534cba
4 changed files with 16 additions and 13 deletions
|
@ -6,15 +6,13 @@
|
|||
|
||||
var page = this;
|
||||
|
||||
if (navigator.userAgent.toLowerCase().indexOf('Windows NT 10.') != -1) {
|
||||
if (navigator.userAgent.toLowerCase().indexOf('windows nt 10.') != -1) {
|
||||
|
||||
var expectedValue = new Date().toDateString();
|
||||
var expectedValue = new Date().toDateString() + "1";
|
||||
if (appStorage.getItem("ieswitchtoedge") == expectedValue) {
|
||||
return;
|
||||
}
|
||||
|
||||
appStorage.setItem("ieswitchtoedge", expectedValue);
|
||||
|
||||
var msg = Globalize.translate('MessageTryMicrosoftEdge');
|
||||
|
||||
msg += "<br/><br/>";
|
||||
|
@ -24,6 +22,8 @@
|
|||
message: msg,
|
||||
title: Globalize.translate('HeaderTryMicrosoftEdge')
|
||||
});
|
||||
|
||||
appStorage.setItem("ieswitchtoedge", expectedValue);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue