1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

fix firefox image editor

This commit is contained in:
Luke Pulverenti 2016-01-19 10:25:34 -05:00
parent 6f96e87248
commit b1f7f190a4
2 changed files with 3 additions and 3 deletions

View file

@ -102,9 +102,9 @@
// but not needed here since this is already on top of an existing dialog // but not needed here since this is already on top of an existing dialog
// but skip it in IE because it's causing the entire browser to hang // but skip it in IE because it's causing the entire browser to hang
// Also have to disable for firefox because it's causing select elements to not be clickable // Also have to disable for firefox because it's causing select elements to not be clickable
if (!browserInfo.msie && !browserInfo.mozilla) { if (!browserInfo.msie && !browserInfo.firefox) {
if (options.modal !== false) { if (options.modal !== false) {
dlg.setAttribute('modal', 'modal'); //dlg.setAttribute('modal', 'modal');
} }
} }

View file

@ -2347,7 +2347,7 @@ var AppInfo = {};
deviceName = "Chrome"; deviceName = "Chrome";
} else if (browserInfo.edge) { } else if (browserInfo.edge) {
deviceName = "Edge"; deviceName = "Edge";
} else if (browserInfo.mozilla) { } else if (browserInfo.firefox) {
deviceName = "Firefox"; deviceName = "Firefox";
} else if (browserInfo.msie) { } else if (browserInfo.msie) {
deviceName = "Internet Explorer"; deviceName = "Internet Explorer";