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:
parent
27c3bdc042
commit
7b5f61d2d2
32 changed files with 106 additions and 106 deletions
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue