mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update search
This commit is contained in:
parent
0f0c5850a8
commit
17ada9f98e
4 changed files with 25 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
|||
define(['libraryBrowser', 'focusManager', 'emby-input', 'paper-icon-button-light', 'material-icons'], function (libraryBrowser, focusManager) {
|
||||
define(['libraryBrowser', 'focusManager', 'embyRouter', 'emby-input', 'paper-icon-button-light', 'material-icons'], function (libraryBrowser, focusManager, embyRouter) {
|
||||
|
||||
function loadSuggestions(page) {
|
||||
|
||||
|
@ -180,5 +180,20 @@
|
|||
onSearchChange(this.value);
|
||||
});
|
||||
|
||||
view.querySelector('.btnBack').addEventListener('click', function () {
|
||||
embyRouter.back();
|
||||
});
|
||||
|
||||
view.addEventListener('viewbeforeshow', function (e) {
|
||||
document.body.classList.add('hiddenViewMenuBar');
|
||||
document.body.classList.add('hiddenNowPlayingBar');
|
||||
});
|
||||
|
||||
view.addEventListener('viewbeforehide', function (e) {
|
||||
|
||||
document.body.classList.remove('hiddenViewMenuBar');
|
||||
document.body.classList.remove('hiddenNowPlayingBar');
|
||||
});
|
||||
|
||||
};
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue