Footer Nav Pagination Stops Working After Search
-
Using Calendar Pro
I found a problem with the search/footer nav.
When you do a search (I was testing on the month view), the results are dynamically inserted via ajax. However, the event propagation fails on the footer nav because of this.
I had to add a quick fix, but I think the plugin should be fixed too please.
Here is my fix in case someone else is having this issue.
$(document).ready(function(){ $('body').on('click', '.tribe-events-nav-next a, .tribe-events-nav-previous a', function(e) { e.preventDefault(); location.href = $(this).attr('href'); return false; }); });
e.preventDefault();
andreturn false;
probably aren’t required.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Footer Nav Pagination Stops Working After Search’ is closed to new replies.