Merge pull request #3769 from pitaj/patch-1

Use the hide class instead of jQuery hide
v1.18.x
Barış Soner Uşaklı 10 years ago
commit 871dffb0d3

@ -362,8 +362,8 @@ app.cacheBuster = null;
searchInput.on('blur', dismissSearch); searchInput.on('blur', dismissSearch);
function dismissSearch(){ function dismissSearch(){
searchFields.addClass('hide'); searchFields.addClass('hidden');
searchButton.show(); searchButton.removeClass('hidden');
} }
searchButton.on('click', function(e) { searchButton.on('click', function(e) {
@ -393,8 +393,8 @@ app.cacheBuster = null;
}; };
app.prepareSearch = function() { app.prepareSearch = function() {
$("#search-fields").removeClass('hide'); $("#search-fields").removeClass('hidden');
$("#search-button").hide(); $("#search-button").addClass('hidden');
$('#search-fields input').focus(); $('#search-fields input').focus();
}; };

Loading…
Cancel
Save