diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2007-01-10 07:03:48 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2007-01-10 07:03:48 +0000 |
commit | f4c82fa91b227d237f89fc9ee35e0519f37b908b (patch) | |
tree | bf196423dda92b8ef840373655d85db843893f6a | |
parent | 50535ab339a2b286013ed22fb92f7a28fd19a278 (diff) | |
download | brdo-f4c82fa91b227d237f89fc9ee35e0519f37b908b.tar.gz brdo-f4c82fa91b227d237f89fc9ee35e0519f37b908b.tar.bz2 |
Update to Farbtastic 1.2.
-rw-r--r-- | misc/farbtastic/farbtastic.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/misc/farbtastic/farbtastic.js b/misc/farbtastic/farbtastic.js index 999230d91..f37df7d72 100644 --- a/misc/farbtastic/farbtastic.js +++ b/misc/farbtastic/farbtastic.js @@ -1,5 +1,5 @@ // $Id$ -// Farbtastic 1.1 +// Farbtastic 1.2 jQuery.fn.farbtastic = function (callback) { $.farbtastic(this, callback); @@ -47,6 +47,9 @@ jQuery._farbtastic = function (container, callback) { $(fb.callback).unbind('keyup', fb.updateValue); } + // Reset color + fb.color = null; + // Bind callback or elements if (typeof callback == 'function') { fb.callback = callback; |