File tree Expand file tree Collapse file tree 4 files changed +11
-13
lines changed
dist/assets/js/plugins/storeLocator Expand file tree Collapse file tree 4 files changed +11
-13
lines changed Original file line number Diff line number Diff line change 1
- /*! jQuery Google Maps Store Locator - v3.1.12 - 2023-07-24
1
+ /*! jQuery Google Maps Store Locator - v3.1.12 - 2023-07-25
2
2
* http://www.bjornblog.com/web/jquery-store-locator-plugin
3
3
* Copyright (c) 2023 Bjorn Holine; Licensed MIT */
4
4
2277
2277
2278
2278
if ( $ ( '#' + _this . settings . mapID ) . hasClass ( 'bh-sl-map-open' ) === true ) {
2279
2279
if ( ( olat ) && ( olng ) ) {
2280
- _this . settings . mapSettings . zoom = 0 ;
2281
2280
_this . processForm ( ) ;
2282
2281
}
2283
2282
else {
2295
2294
if ( _this . countFilters ( ) === 0 ) {
2296
2295
_this . settings . mapSettings . zoom = originalZoom ;
2297
2296
}
2298
- else {
2299
- _this . settings . mapSettings . zoom = 0 ;
2300
- }
2297
+
2301
2298
_this . processForm ( ) ;
2302
2299
}
2303
2300
else {
2323
2320
filters [ filterKey ] = [ filterVal ] ;
2324
2321
if ( $ ( '#' + _this . settings . mapID ) . hasClass ( 'bh-sl-map-open' ) === true ) {
2325
2322
if ( ( olat ) && ( olng ) ) {
2326
- _this . settings . mapSettings . zoom = 0 ;
2327
2323
_this . processForm ( ) ;
2328
2324
}
2329
2325
else {
Original file line number Diff line number Diff line change @@ -35,6 +35,12 @@ filtering.
35
35
36
36
## Changelog
37
37
38
+ ### Version 3.1.13
39
+
40
+ * Fixed additional disable filtering functionality related to select options and radio buttons by globally tracking the disabled values.
41
+ * Removed zoom reset to zero on taxonomy filtering to keep searched location in view.
42
+ * Updated maybeDisableFilterOptions to run when full map start or default location settings are enabled.
43
+
38
44
### Version 3.1.12
39
45
40
46
* Added automatic reset functionality that fires when address input field value is removed (changed to blank).
Original file line number Diff line number Diff line change 2273
2273
2274
2274
if ( $ ( '#' + _this . settings . mapID ) . hasClass ( 'bh-sl-map-open' ) === true ) {
2275
2275
if ( ( olat ) && ( olng ) ) {
2276
- _this . settings . mapSettings . zoom = 0 ;
2277
2276
_this . processForm ( ) ;
2278
2277
}
2279
2278
else {
2291
2290
if ( _this . countFilters ( ) === 0 ) {
2292
2291
_this . settings . mapSettings . zoom = originalZoom ;
2293
2292
}
2294
- else {
2295
- _this . settings . mapSettings . zoom = 0 ;
2296
- }
2293
+
2297
2294
_this . processForm ( ) ;
2298
2295
}
2299
2296
else {
2319
2316
filters [ filterKey ] = [ filterVal ] ;
2320
2317
if ( $ ( '#' + _this . settings . mapID ) . hasClass ( 'bh-sl-map-open' ) === true ) {
2321
2318
if ( ( olat ) && ( olng ) ) {
2322
- _this . settings . mapSettings . zoom = 0 ;
2323
2319
_this . processForm ( ) ;
2324
2320
}
2325
2321
else {
You can’t perform that action at this time.
0 commit comments