Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #2 from SpencerLiolios/master

Fixed initial position bug
  • Loading branch information...
commit f41feb8bb4b01db3d02c91c7cbf6b4034f183fae 2 parents 0efe515 + 73f5905
@martinaglv authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  knobKnob/knobKnob.jquery.js
View
2  knobKnob/knobKnob.jquery.js
@@ -35,7 +35,7 @@
doc = $(document);
if(options.value > 0 && options.value <= 359){
- rotation = currentDeg = options.value;
+ rotation = lastDeg = currentDeg = options.value;
knobTop.css('transform','rotate('+(currentDeg)+'deg)');
options.turn(currentDeg/359);
}
Please sign in to comment.
Something went wrong with that request. Please try again.