From 0a805d52365b188019cc579c8dd7a1958d0454c0 Mon Sep 17 00:00:00 2001 From: xilocex Date: Tue, 25 Jun 2013 02:13:35 -0700 Subject: [PATCH 1/2] Update jquery.knob.js Added s.cH(s.$.val()); @line: 146 so that the change event is fired when a user types in a new value for the input. --- js/jquery.knob.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/jquery.knob.js b/js/jquery.knob.js index ef3ab5f..30aed2e 100644 --- a/js/jquery.knob.js +++ b/js/jquery.knob.js @@ -143,6 +143,7 @@ 'change' , function () { s.val(s._validate(s.$.val())); + s.cH(s.$.val()); } ); } @@ -665,4 +666,4 @@ ).parent(); }; -})(jQuery); \ No newline at end of file +})(jQuery); From c7f960cd09003b607bb0311cdb14ddea9e309ccf Mon Sep 17 00:00:00 2001 From: xilocex Date: Tue, 25 Jun 2013 03:38:21 -0700 Subject: [PATCH 2/2] Update jquery.knob.js Added s.cH(v); @line: 511 so that the change event is fired when a user has the input focused and is using the arrow keys. --- js/jquery.knob.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/jquery.knob.js b/js/jquery.knob.js index 30aed2e..8da405b 100644 --- a/js/jquery.knob.js +++ b/js/jquery.knob.js @@ -508,6 +508,7 @@ && (v = max(min(v, s.o.max), s.o.min)); s.change(v); + s.cH(v); s._draw(); // long time keydown speed-up