mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update artist queries
This commit is contained in:
parent
3685bd3766
commit
30d9d031ae
5 changed files with 20 additions and 13 deletions
|
@ -1,4 +1,4 @@
|
|||
define(['libraryBrowser', 'scrollStyles'], function (libraryBrowser) {
|
||||
define(['libraryBrowser', 'events', 'scrollStyles'], function (libraryBrowser, events) {
|
||||
|
||||
var searchHintTimeout;
|
||||
|
||||
|
@ -231,8 +231,8 @@
|
|||
function bindSearchEvents() {
|
||||
|
||||
require(['searchmenu'], function (searchmenu) {
|
||||
Events.on(window.SearchMenu, 'closed', closeSearchResults);
|
||||
Events.on(window.SearchMenu, 'change', function (e, value) {
|
||||
events.on(window.SearchMenu, 'closed', closeSearchResults);
|
||||
events.on(window.SearchMenu, 'change', function (e, value) {
|
||||
|
||||
onHeaderSearchChange(value);
|
||||
});
|
||||
|
@ -257,11 +257,14 @@
|
|||
});
|
||||
}
|
||||
|
||||
document.addEventListener('pagebeforehide', closeSearchResults);
|
||||
document.addEventListener('viewbeforehide', closeSearchResults);
|
||||
|
||||
document.addEventListener('headercreated', function () {
|
||||
|
||||
bindSearchEvents();
|
||||
});
|
||||
|
||||
// dismiss search UI if user clicks a play button on a search result
|
||||
events.on(MediaController, 'beforeplaybackstart', closeSearchResults);
|
||||
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue