Commit f4c82fa9 authored by Steven Wittens's avatar Steven Wittens
Browse files

Update to Farbtastic 1.2.

parent 50535ab3
// $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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment