File tree Expand file tree Collapse file tree 4 files changed +18
-13
lines changed
dist/assets/js/plugins/storeLocator Expand file tree Collapse file tree 4 files changed +18
-13
lines changed Original file line number Diff line number Diff line change 1
- /*! jQuery Google Maps Store Locator - v3.1.10 - 2023-05-24
1
+ /*! jQuery Google Maps Store Locator - v3.1.10 - 2023-05-31
2
2
* http://www.bjornblog.com/web/jquery-store-locator-plugin
3
3
* Copyright (c) 2023 Bjorn Holine; Licensed MIT */
4
4
285
285
featuredset = [ ] ;
286
286
normalset = [ ] ;
287
287
markers = [ ] ;
288
- originalFilterVals = [ ] ;
289
288
firstRun = false ;
290
289
$ ( document ) . off ( 'click.' + pluginName , '.' + this . settings . locationList + ' li' ) ;
291
290
2906
2905
2907
2906
openMap = $mapDiv . hasClass ( 'bh-sl-map-open' ) ;
2908
2907
2909
- // Set a variable for fullMapStart so we can detect the first run
2908
+ // Set a variable for fullMapStart, so we can detect the first run
2910
2909
if (
2911
2910
( _this . settings . fullMapStart === true && openMap === false ) ||
2912
2911
( _this . settings . autoGeocode === true && openMap === false ) ||
2913
2912
( _this . settings . defaultLoc === true && openMap === false )
2914
2913
) {
2915
2914
firstRun = true ;
2916
- } else if ( reload === true ) {
2915
+ } else if (
2916
+ ( _this . settings . fullMapStart === true && reload === true ) ||
2917
+ ( _this . settings . autoGeocode === true && reload === true ) ||
2918
+ ( _this . settings . defaultLoc === true && reload === true )
2919
+ ) {
2920
+ //firstRun = true;
2917
2921
_this . reset ( ) ;
2918
- firstRun = true ;
2919
2922
} else {
2920
2923
_this . reset ( ) ;
2921
2924
}
Original file line number Diff line number Diff line change @@ -38,8 +38,8 @@ filtering.
38
38
### Version 3.1.11
39
39
40
40
* Fixed issue with new disable filtering functionality with radio buttons.
41
- * Fixed issue with reset button where all locations were duplicated - introduced in v3.0.1
42
- * Updated functionality reset disabled form filters when Reset button is clicked.
41
+ * Fixed issue with reset button where all locations were duplicated - introduced in v3.0.1.
42
+ * Updated functionality to reset disabled form filters when Reset button is clicked.
43
43
44
44
### Version 3.1.10
45
45
Original file line number Diff line number Diff line change 281
281
featuredset = [ ] ;
282
282
normalset = [ ] ;
283
283
markers = [ ] ;
284
- originalFilterVals = [ ] ;
285
284
firstRun = false ;
286
285
$ ( document ) . off ( 'click.' + pluginName , '.' + this . settings . locationList + ' li' ) ;
287
286
2902
2901
2903
2902
openMap = $mapDiv . hasClass ( 'bh-sl-map-open' ) ;
2904
2903
2905
- // Set a variable for fullMapStart so we can detect the first run
2904
+ // Set a variable for fullMapStart, so we can detect the first run
2906
2905
if (
2907
2906
( _this . settings . fullMapStart === true && openMap === false ) ||
2908
2907
( _this . settings . autoGeocode === true && openMap === false ) ||
2909
2908
( _this . settings . defaultLoc === true && openMap === false )
2910
2909
) {
2911
2910
firstRun = true ;
2912
- } else if ( reload === true ) {
2911
+ } else if (
2912
+ ( _this . settings . fullMapStart === true && reload === true ) ||
2913
+ ( _this . settings . autoGeocode === true && reload === true ) ||
2914
+ ( _this . settings . defaultLoc === true && reload === true )
2915
+ ) {
2913
2916
_this . reset ( ) ;
2914
- firstRun = true ;
2915
2917
} else {
2916
2918
_this . reset ( ) ;
2917
2919
}
You can’t perform that action at this time.
0 commit comments