diff --git a/400-SOURCECODE/AIAHTML5.Web/index.html b/400-SOURCECODE/AIAHTML5.Web/index.html
index 2fde181..43673bc 100644
--- a/400-SOURCECODE/AIAHTML5.Web/index.html
+++ b/400-SOURCECODE/AIAHTML5.Web/index.html
@@ -1230,7 +1230,12 @@
});
$("#btnBrushSizeDecrease").click(function () {
var brushDecreaseVar = $("#btnBrushSize").val();
- if (brushDecreaseVar <= 1) {
+ if (brushDecreaseVar == "") {
+ var brushDecrementedValue = 1;
+ $("#btnBrushSize").val(brushDecrementedValue);
+ $("#slider-range-min-2").slider("value", parseInt(brushDecrementedValue));
+ }
+ else if (brushDecreaseVar <= 1) {
$("#slider-range-min-2").slider("value", 1);
}
else {