fix js thumbnail color picker
@@ -4,7 +4,7 @@ django.jQuery(function($) {
function color_selector(id_glossary) {
var parent = id_glossary.parent();
parent.append('<input class="color_picker" type="color" style="display:none;opacity:0;position:absolute;"/>');
- parent.append('<span class=".thumb_color_picker" style="background-color:' + id_glossary.val() + '; position: absolute; top: 5px; left: 5px; width: 18px; height:18px; border: 1px solid;" ></span>');
+ parent.append('<span class="thumb_color_picker" style="background-color:' + id_glossary.val() + '; position: absolute; top: 5px; left: 5px; width: 18px; height:18px; border: 1px solid;" ></span>');
id_glossary.add(".thumb_color_picker").on('click', function() {
var cp = parent.find('.color_picker');
var thumb_cp = parent.find('.thumb_color_picker');
