mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
paperdialoghelper -> dialogHelper
This commit is contained in:
parent
822553d966
commit
ae421fa193
37 changed files with 168 additions and 163 deletions
|
@ -2941,9 +2941,9 @@
|
|||
|
||||
showSortMenu: function (options) {
|
||||
|
||||
require(['paperdialoghelper', 'paper-radio-button', 'paper-radio-group'], function (paperDialogHelper) {
|
||||
require(['dialogHelper', 'paper-radio-button', 'paper-radio-group'], function (dialogHelper) {
|
||||
|
||||
var dlg = paperDialogHelper.createDialog({
|
||||
var dlg = dialogHelper.createDialog({
|
||||
removeOnClose: true,
|
||||
modal: false,
|
||||
entryAnimationDuration: 160,
|
||||
|
@ -2989,7 +2989,7 @@
|
|||
// Seeing an issue in Firefox and IE where it's initially visible in the bottom right, then moves to the center
|
||||
var delay = browserInfo.animate ? 0 : 100;
|
||||
setTimeout(function () {
|
||||
paperDialogHelper.open(dlg);
|
||||
dialogHelper.open(dlg);
|
||||
}, delay);
|
||||
|
||||
dlg.querySelector('.groupSortBy').addEventListener('iron-select', function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue