mirror of
https://github.com/PitPik/colorPicker.git
synced 2025-09-08 08:42:37 -06:00
differentiate noAlpha color memory (cookies)
This commit is contained in:
parent
d66ebd5f99
commit
21c6f1aec9
@ -53,7 +53,7 @@
|
|||||||
replace(')', ',' + opacity + ')')
|
replace(')', ',' + opacity + ')')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
cookieTXT = '\'' + cookieTXT.join('\',\'') + '\'';console.log(options.noAlpha)
|
cookieTXT = '\'' + cookieTXT.join('\',\'') + '\'';
|
||||||
$.docCookies('colorPickerMemos' + (options.noAlpha ? 'NoAlpha' : ''), cookieTXT);
|
$.docCookies('colorPickerMemos' + (options.noAlpha ? 'NoAlpha' : ''), cookieTXT);
|
||||||
} else if (action === 'resizeApp') {
|
} else if (action === 'resizeApp') {
|
||||||
$.docCookies('colorPickerSize', colorPicker.color.options.currentSize);
|
$.docCookies('colorPickerSize', colorPicker.color.options.currentSize);
|
||||||
@ -64,7 +64,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
createInstance = function(elm, config) {
|
createInstance = function(elm, config) {
|
||||||
console.log('colorPickerMemos' + ((config || {}).noAlpha ? 'NoAlpha' : ''));
|
|
||||||
var initConfig = {
|
var initConfig = {
|
||||||
klass: window.ColorPicker,
|
klass: window.ColorPicker,
|
||||||
input: elm,
|
input: elm,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user