Skip to content

Commit 460dacb

Browse files
committed
Fix inRange function
1 parent 49cd8b6 commit 460dacb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@
400400
*
401401
* @returns {boolean}
402402
*/
403-
inRange(min, num, max){
403+
inRange: function(min, num, max){
404404
this.writeDebug('inRange',arguments);
405405
num = Math.abs(num);
406406
return isFinite(num) && (num >= min) && (num <= max);

src/js/jquery.storelocator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@
396396
*
397397
* @returns {boolean}
398398
*/
399-
inRange(min, num, max){
399+
inRange: function(min, num, max){
400400
this.writeDebug('inRange',arguments);
401401
num = Math.abs(num);
402402
return isFinite(num) && (num >= min) && (num <= max);

0 commit comments

Comments
 (0)