summaryrefslogtreecommitdiff
path: root/misc/farbtastic
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2007-01-10 07:03:48 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2007-01-10 07:03:48 +0000
commitf4c82fa91b227d237f89fc9ee35e0519f37b908b (patch)
treebf196423dda92b8ef840373655d85db843893f6a /misc/farbtastic
parent50535ab339a2b286013ed22fb92f7a28fd19a278 (diff)
downloadbrdo-f4c82fa91b227d237f89fc9ee35e0519f37b908b.tar.gz
brdo-f4c82fa91b227d237f89fc9ee35e0519f37b908b.tar.bz2
Update to Farbtastic 1.2.
Diffstat (limited to 'misc/farbtastic')
-rw-r--r--misc/farbtastic/farbtastic.js5
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;