mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
move paper dialog helper
This commit is contained in:
parent
54d014972b
commit
88bd9c7abb
18 changed files with 44 additions and 25 deletions
|
@ -253,7 +253,7 @@
|
|||
|
||||
function showOverlay(elem, item) {
|
||||
|
||||
require(['components/paperdialoghelper', 'scale-up-animation', 'fade-out-animation'], function () {
|
||||
require(['paperdialoghelper', 'scale-up-animation', 'fade-out-animation'], function (paperdialoghelper) {
|
||||
|
||||
var dlg = document.createElement('paper-dialog');
|
||||
|
||||
|
@ -300,7 +300,7 @@
|
|||
LibraryBrowser.renderGenres($('.itemGenres', dlg), item, 3);
|
||||
$('.miscTvProgramInfo', dlg).html(LibraryBrowser.getMiscInfoHtml(item));
|
||||
|
||||
PaperDialogHelper.positionTo(dlg, elem);
|
||||
paperdialoghelper.positionTo(dlg, elem);
|
||||
|
||||
dlg.open();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue