Added background color on click in icon search.

This commit is contained in:
Fabiano 2018-06-15 10:17:57 -03:00
parent c6a6f15202
commit fb54dd6c66
1 changed files with 6 additions and 0 deletions

View File

@ -58,6 +58,9 @@ jQuery(document).ready(function( $ ) {
if($(window).width() > 768){
$(this).addClass('d-none');
}
if($(window).width() < 768){
$(this).addClass('active-button');
}
$(this).attr('type', 'submit');
$('.tainacan-form-search').animate({opacity: '1'}, "slow", function(){
$('.tainacan-input-search').select();
@ -73,6 +76,9 @@ jQuery(document).ready(function( $ ) {
$('.showInput').removeClass('d-none');
$('.showInput').removeAttr('type');
});
if($(window).width() < 768){
$('.showInput').removeClass('active-button');
}
});
var config = {