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

change browser object

This commit is contained in:
Luke Pulverenti 2015-11-28 15:48:35 -05:00
parent 27c3bdc042
commit 7b5f61d2d2
32 changed files with 106 additions and 106 deletions

View file

@ -52,10 +52,10 @@
function enableHashChange() {
// It's not firing popstate in response to hashbang changes
if ($.browser.msie) {
if (browserInfo.msie) {
return false;
}
if ($.browser.edge) {
if (browserInfo.edge) {
return false;
}
return true;
@ -92,7 +92,7 @@
// 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
// Also have to disable for firefox because it's causing select elements to not be clickable
if (!$.browser.msie && !$.browser.mozilla) {
if (!browserInfo.msie && !browserInfo.mozilla) {
if (options.modal !== false) {
dlg.setAttribute('modal', 'modal');
}