From 21c6f1aec96cb9c2b73424c31275ec16ad2c4054 Mon Sep 17 00:00:00 2001 From: peterd Date: Sat, 13 Sep 2014 18:58:58 +0200 Subject: [PATCH] differentiate noAlpha color memory (cookies) --- jQuery_implementation/jqColor.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/jQuery_implementation/jqColor.js b/jQuery_implementation/jqColor.js index ee77df2..2103774 100644 --- a/jQuery_implementation/jqColor.js +++ b/jQuery_implementation/jqColor.js @@ -53,7 +53,7 @@ replace(')', ',' + opacity + ')') ); } - cookieTXT = '\'' + cookieTXT.join('\',\'') + '\'';console.log(options.noAlpha) + cookieTXT = '\'' + cookieTXT.join('\',\'') + '\''; $.docCookies('colorPickerMemos' + (options.noAlpha ? 'NoAlpha' : ''), cookieTXT); } else if (action === 'resizeApp') { $.docCookies('colorPickerSize', colorPicker.color.options.currentSize); @@ -64,7 +64,6 @@ } }, createInstance = function(elm, config) { - console.log('colorPickerMemos' + ((config || {}).noAlpha ? 'NoAlpha' : '')); var initConfig = { klass: window.ColorPicker, input: elm,