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

Merge pull request #1583 from Camc314/migrate-to-ES6-28

Migration of touchhelper and taskbuttons to ES6 modules
This commit is contained in:
dkanada 2020-07-23 11:46:30 +09:00 committed by GitHub
commit 7a33e90693
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 179 additions and 173 deletions

View file

@ -380,6 +380,7 @@ import 'emby-itemrefreshindicator';
});
pageIdOn('pageshow', 'mediaLibraryPage', function () {
libraryMenu.setTabs('librarysetup', 0, getTabs);
const page = this;
taskButton({
mode: 'on',
@ -389,6 +390,7 @@ import 'emby-itemrefreshindicator';
});
});
pageIdOn('pagebeforehide', 'mediaLibraryPage', function () {
const page = this;
taskButton({
mode: 'off',