mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update search css loading
This commit is contained in:
parent
96eb9ea63a
commit
3118991c21
15 changed files with 161 additions and 190 deletions
|
@ -6,16 +6,17 @@
|
|||
|
||||
self.show = function () {
|
||||
|
||||
require(['css!css/search.css']);
|
||||
$('.headerSearchInput').val('');
|
||||
require(['css!css/search.css'], function() {
|
||||
$('.headerSearchInput').val('');
|
||||
|
||||
$('.btnCloseSearch').hide();
|
||||
var elem = $('.viewMenuSearch').removeClass('hide')[0];
|
||||
$('.btnCloseSearch').hide();
|
||||
var elem = $('.viewMenuSearch').removeClass('hide')[0];
|
||||
|
||||
fadeIn(elem, 1).onfinish = function () {
|
||||
$('.headerSearchInput').focus();
|
||||
$('.btnCloseSearch').show();
|
||||
};
|
||||
fadeIn(elem, 1).onfinish = function () {
|
||||
$('.headerSearchInput').focus();
|
||||
$('.btnCloseSearch').show();
|
||||
};
|
||||
});
|
||||
};
|
||||
|
||||
function fadeIn(elem, iterations) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue