Merge pull request #3769 from pitaj/patch-1

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

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

Loading…
Cancel
Save