Commit 2c08454c72c7c65f4189fb9219986129a96f4bdc
1 parent
00de6fce
this is for bug 11044
Showing
1 changed file
with
5 additions
and
0 deletions
400-SOURCECODE/AIAHTML5.Web/index.html
@@ -1214,6 +1214,11 @@ | @@ -1214,6 +1214,11 @@ | ||
1214 | if (brushIncrementVar >= 60) { | 1214 | if (brushIncrementVar >= 60) { |
1215 | $("#slider-range-min-2").slider("value", 60); | 1215 | $("#slider-range-min-2").slider("value", 60); |
1216 | } | 1216 | } |
1217 | + else if (brushIncrementVar == "") { | ||
1218 | + var brushIncrementedValue = 1; | ||
1219 | + $("#btnBrushSize").val(brushIncrementedValue); | ||
1220 | + $("#slider-range-min-2").slider("value", parseInt(brushIncrementedValue)); | ||
1221 | + } | ||
1217 | else { | 1222 | else { |
1218 | var brushIncrementedValue = parseInt(brushIncrementVar) + 1; | 1223 | var brushIncrementedValue = parseInt(brushIncrementVar) + 1; |
1219 | $("#btnBrushSize").val(brushIncrementedValue); | 1224 | $("#btnBrushSize").val(brushIncrementedValue); |