Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9eed483

Browse files
committed
fix bug
1 parent dc3de7a commit 9eed483

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

dist/rzslider.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1978,7 +1978,7 @@
19781978
link: function (scope, iElm, iAttrs, controller) {
19791979
// load locale specific settings; default to us if none passed
19801980
// or lang locale not found
1981-
var localeConfig = {
1981+
var localeConfigList = {
19821982
"en_us": {
19831983
floor: 20,
19841984
ceil: 80,
@@ -1999,9 +1999,9 @@
19991999
}
20002000
}
20012001
var locale = scope.locale || "en_us";
2002-
var localeConfig = localeConfig[locale.toLowerCase()];
2002+
var localeConfig = localeConfigList[locale.toLowerCase()];
20032003
if (!localeConfig) {
2004-
localeConfig = otPriceRangeSliderLocaleConfig["en_us"];
2004+
localeConfig = localeConfigList["en_us"];
20052005
}
20062006
console.log("otPriceRangeSlider localeConfig:", localeConfig)
20072007

0 commit comments

Comments
 (0)