summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts/effects/slider.js
diff options
context:
space:
mode:
authorwei <>2006-04-21 11:41:21 +0000
committerwei <>2006-04-21 11:41:21 +0000
commite1e034ced29b0b9bf11a49798b4fba4d3dd0164d (patch)
tree92120227f58c2463ddb50b1592dde0436d175189 /framework/Web/Javascripts/effects/slider.js
parente57fc66ee3f5259b4f7cbd18a1cd0f6da6176f5d (diff)
Update javascript libraries, rewrote client-side validators, removed some js files, simplified javascript compression.
Diffstat (limited to 'framework/Web/Javascripts/effects/slider.js')
-rw-r--r--framework/Web/Javascripts/effects/slider.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/Javascripts/effects/slider.js b/framework/Web/Javascripts/effects/slider.js
index fdd0bcca..c0f1fc01 100644
--- a/framework/Web/Javascripts/effects/slider.js
+++ b/framework/Web/Javascripts/effects/slider.js
@@ -200,10 +200,10 @@ Control.Slider.prototype = {
setSpan: function(span, range) {
if(this.isVertical()) {
span.style.top = this.translateToPx(range.start);
- span.style.height = this.translateToPx(range.end - range.start);
+ span.style.height = this.translateToPx(range.end - range.start + this.range.start);
} else {
span.style.left = this.translateToPx(range.start);
- span.style.width = this.translateToPx(range.end - range.start);
+ span.style.width = this.translateToPx(range.end - range.start + this.range.start);
}
},
updateStyles: function() {