Hello, the most recent update has screwed up some things on my site. I figured out fixes for the others but our search module turned into this ugly black layout. I removed the old module to create a new one. First the search glass didnt work so I had to go into the theme options and enable all disable font awesome settings and that allowed it to display the graphics. Now I cannot seem to get the JS to work that I had been given in this thread(Search dropdown element, focus on click) that was working for me prior to the update. Could you tell me what JS is needed to auto focus now?
I have used the bottom two snippets in the past.
jQuery ( document ).ready ( function($) {
$(’#custom-search-dd-anchor-toggle’).click(function(){
setTimeout(function(){
$(’#custom-search-dd-dropdown .x-search-input’).filter(’:visible’).focus();
}, 500);
});
});
jQuery(document).ready(function($) {
$(’#custom-search-dd’).click(function() {
setTimeout(function() {
$(’#custom-search-dd-dropdown .x-search-input’).filter(’:visible’).focus();
}, 500);
});
});