diff --git a/colorPicker.js b/colorPicker.js index 0cb51c0..2038905 100644 --- a/colorPicker.js +++ b/colorPicker.js @@ -127,7 +127,7 @@ return saveAsBackground(); }; - Colors.prototype.setCustomBackground = function(col) { + ColorPicker.prototype.setCustomBackground = function(col) { focusInstance(this); // needed??? return _colorInstance.setCustomBackground(col); };