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
091d4e96b7
commit
512a8ee8d1
2 changed files with 14 additions and 17 deletions
|
@ -1,4 +1,4 @@
|
|||
define(['paperdialoghelper', 'paper-menu', 'paper-dialog', 'scale-up-animation', 'fade-out-animation'], function (paperDialogHelper) {
|
||||
define(['paperdialoghelper', 'browser', 'paper-menu', 'paper-dialog', 'scale-up-animation', 'fade-out-animation'], function (paperDialogHelper, browser) {
|
||||
|
||||
function parentWithClass(elem, className) {
|
||||
|
||||
|
@ -127,7 +127,7 @@
|
|||
});
|
||||
|
||||
// Seeing an issue in some non-chrome browsers where this is requiring a double click
|
||||
var eventName = browserInfo.firefox ? 'mousedown' : 'click';
|
||||
var eventName = browser.firefox ? 'mousedown' : 'click';
|
||||
|
||||
dlg.addEventListener(eventName, function (e) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue