1
0
Fork 0
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:
Luke Pulverenti 2015-12-02 15:50:25 -05:00
parent 96eb9ea63a
commit 3118991c21
15 changed files with 161 additions and 190 deletions

View file

@ -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) {