Skip to content
Browse files

Merge pull request #2 from SpencerLiolios/master

Fixed initial position bug
  • Loading branch information...
2 parents 0efe515 + 73f5905 commit f41feb8bb4b01db3d02c91c7cbf6b4034f183fae @martinaglv committed Mar 12, 2012
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);
}

0 comments on commit f41feb8

Please sign in to comment.
Something went wrong with that request. Please try again.