diff --git a/README.md b/README.md index baafdfd..87bd7a6 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ +What we changed +============= +- Add % when display in knob + + + jQuery Knob ============= diff --git a/js/jquery.knob.js b/js/jquery.knob.js index 32caa3d..d5a57a9 100644 --- a/js/jquery.knob.js +++ b/js/jquery.knob.js @@ -541,7 +541,7 @@ || this.v > this.o.max ) this.v = this.o.min; - this.$.val(this.v); + this.$.val(this.v + "%"); this.w2 = this.o.width / 2; this.cursorExt = this.o.cursor / 100; this.xy = this.w2;