Test colorpicker

This commit is contained in:
yflory
2016-10-07 10:31:36 +02:00
parent 81fce1237f
commit d7e170c797
2 changed files with 3 additions and 2 deletions

View File

@@ -438,11 +438,11 @@ define([
console.log(jscolor);
var $background = $('<input>', {
value: 'BACKGROUND',
style: "position:absolute; top:100px; left: 50px; z-index:1000"
});
$rightside[0].appendChild($background[0]);
var picker = new jscolor($background[0]);
$('body').append($background);
console.log($background);
$background.addClass('jscolor-active');
// $rightside[0].appendChild($background[0]);
//console.log($pad.contents().find('#cryptpad-bg-color'));