Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed range issue, the widget range was limited to [0,99] it now does…

… [0,100]
  • Loading branch information...
commit 2869f8f3a33d5dc7aac85308cf3d5aaf05dd25c8 1 parent 699e9d3
@orefalo authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Source/mooRate.js
View
2  Source/mooRate.js
@@ -56,7 +56,7 @@ var MooRate = new Class({
var x = (w / this.options.maxwidth) * this.options.scale;
if (this.options.inpercent) {
- var v = Math.round(w / this.options.maxwidth * 100);
+ var v = Math.round(w / this.options.maxwidth * 101);
if (v < 101)
el.getNext().innerHTML = v + '%';
} else {
Please sign in to comment.
Something went wrong with that request. Please try again.