mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update tabs
This commit is contained in:
parent
7a3858d368
commit
49f8917315
20 changed files with 94 additions and 31 deletions
|
@ -178,7 +178,7 @@
|
|||
|
||||
if (options.showCancel) {
|
||||
html += '<div class="buttons">';
|
||||
html += '<paper-button dialog-dismiss>' + dialogText.get('Cancel') + '</paper-button>';
|
||||
html += '<paper-button class="btnCancel">' + dialogText.get('Cancel') + '</paper-button>';
|
||||
html += '</div>';
|
||||
}
|
||||
html += '</div>';
|
||||
|
@ -189,6 +189,12 @@
|
|||
addCenterFocus(dlg);
|
||||
}
|
||||
|
||||
if (options.showCancel) {
|
||||
dlg.querySelector('.btnCancel').addEventListener('click', function () {
|
||||
dialogHelper.close(dlg);
|
||||
});
|
||||
}
|
||||
|
||||
document.body.appendChild(dlg);
|
||||
|
||||
// Seeing an issue in some non-chrome browsers where this is requiring a double click
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue