Skip to content

Commit fa5cd68

Browse files
committed
Changed order of dragSearch zoom save update
1 parent 995afc3 commit fa5cd68

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

dist/assets/js/plugins/storeLocator/jquery.storelocator.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! jQuery Google Maps Store Locator - v2.5.3 - 2016-04-03
1+
/*! jQuery Google Maps Store Locator - v2.5.3 - 2016-06-05
22
* http://www.bjornblog.com/web/jquery-store-locator-plugin
33
* Copyright (c) 2016 Bjorn Holine; Licensed MIT */
44

@@ -1793,6 +1793,9 @@
17931793
newCenterCoords,
17941794
_this = this;
17951795

1796+
// Save the new zoom setting
1797+
this.settings.mapSettings.zoom = map.getZoom();
1798+
17961799
olat = mappingObj.lat = newCenter.lat();
17971800
olng = mappingObj.lng = newCenter.lng();
17981801

0 commit comments

Comments
 (0)