2
0
mirror of https://github.com/PitPik/colorPicker.git synced 2025-09-08 00:32:35 -06:00

typo correction (appendTo)

This commit is contained in:
peterd 2015-01-17 11:14:50 +01:00
parent 0515274c60
commit 62f0dc4912
2 changed files with 2 additions and 2 deletions

View File

@ -121,7 +121,7 @@
colorPicker.saveAsBackground(); colorPicker.saveAsBackground();
} }
colorPickers.current = colorPickers[index]; 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 setTimeout(function() { // compensating late style on onload in colorPicker
$colorPicker.show(colorPicker.color.options.animationSpeed); $colorPicker.show(colorPicker.color.options.animationSpeed);
}, 0); }, 0);

View File

@ -185,7 +185,7 @@
} }
}; };
return this; return window.jsColorPicker.colorPickers;
}; };
window.ColorPicker.docCookies = function(key, val, options) { window.ColorPicker.docCookies = function(key, val, options) {