From 0a9d34a6c9e4db1ea42261c85315e096ad370cdf Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 24 Oct 2016 15:29:46 +0200 Subject: [PATCH] hide appended color pickers --- www/slide/main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/www/slide/main.js b/www/slide/main.js index cad8adc5c..a5c41633a 100644 --- a/www/slide/main.js +++ b/www/slide/main.js @@ -531,6 +531,7 @@ define([ if ($testColor.attr('type') !== "color" || $testColor.val() === '!') { return; } // TODO $back.on('click', function() { var $picker = $('', { type: 'color', value: backColor }) + .css({ display: 'none', }) .on('change', function() { updateColors(undefined, this.value); onLocal(); @@ -542,6 +543,7 @@ define([ }); $text.on('click', function() { var $picker = $('', { type: 'color', value: textColor }) + .css({ display: 'none', }) .on('change', function() { updateColors(this.value, undefined); onLocal();