From 62f0dc4912582e2a228acb89f59d3bc55ebe104a Mon Sep 17 00:00:00 2001 From: peterd Date: Sat, 17 Jan 2015 11:14:50 +0100 Subject: [PATCH] typo correction (appendTo) --- jQuery_implementation/jqColor.js | 2 +- javascript_implementation/jsColor.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jQuery_implementation/jqColor.js b/jQuery_implementation/jqColor.js index f6cceae..212b19b 100644 --- a/jQuery_implementation/jqColor.js +++ b/jQuery_implementation/jqColor.js @@ -121,7 +121,7 @@ colorPicker.saveAsBackground(); } colorPickers.current = colorPickers[index]; - $(options.appenTo || document.body).append($colorPicker); + $(options.appendTo || document.body).append($colorPicker); setTimeout(function() { // compensating late style on onload in colorPicker $colorPicker.show(colorPicker.color.options.animationSpeed); }, 0); diff --git a/javascript_implementation/jsColor.js b/javascript_implementation/jsColor.js index 4f61d5c..df2b051 100644 --- a/javascript_implementation/jsColor.js +++ b/javascript_implementation/jsColor.js @@ -185,7 +185,7 @@ } }; - return this; + return window.jsColorPicker.colorPickers; }; window.ColorPicker.docCookies = function(key, val, options) {