Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Plugin Looping while loading › Reply To: Plugin Looping while loading
September 12, 2016 at 10:44 am
#10084
Hi,
It’s not a configuration issue unfortunately. There is a 3rd party script attaching to the “click” event of the input and it automatically redirects as soon as it’s clicked – causing the looping issue. I was not able to determine which script is to blame unfortunately.
I have found a solution though, and placed the following custom script into the footer.php file in the theme directory just before the closing body tag:
<script>
jQuery(function($){
$(".proinput input").on("click", function(e) {
e.preventDefault();
});
});
</script>
In case the issue reappears after a theme update, just copy/paste this code into that file again.
Best,Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)