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

update dialogs

This commit is contained in:
Luke Pulverenti 2016-02-04 23:56:34 -05:00
parent 091d4e96b7
commit 512a8ee8d1
2 changed files with 14 additions and 17 deletions

View file

@ -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) {