added select on show form search.

This commit is contained in:
Fabiano Alencar 2018-06-14 14:55:53 -03:00
parent bbc9789fbc
commit 0feb90c18e
1 changed files with 3 additions and 1 deletions

View File

@ -59,7 +59,9 @@ jQuery(document).ready(function( $ ) {
$(this).addClass('d-none');
}
$(this).attr('type', 'submit');
$('.tainacan-form-search').animate({opacity: '1'}, "slow");
$('.tainacan-form-search').animate({opacity: '1'}, "slow", function(){
$('.tainacan-input-search').select();
});
/* if($.trim($('.tainacan-input-search').val()).length){
$('#btn-reset').removeClass('d-none');
}else{