bjorn2404 / jQuery-Store-Locator-Plugin

A store locator plugin using Google Maps API version 3
MIT License
495 stars 235 forks source link

#211 - Fix page numbers still displayed when there are no results #212

Closed heldr88 closed 6 years ago

heldr88 commented 6 years ago

This fixes #211. Moved the handling of "no results" to happen after paginationSetup so that if the new locationset contains no locations then the pagination HTML is removed from the page instead of it still showing the page numbers along with "No Results" on the page.