From 5dbd16a95655937706b26b8e89c977307d274831 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 ef7246b18..1b57b2629 100644 --- a/www/slide/main.js +++ b/www/slide/main.js @@ -521,6 +521,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(); @@ -532,6 +533,7 @@ define([ }); $text.on('click', function() { var $picker = $('', { type: 'color', value: textColor }) + .css({ display: 'none', }) .on('change', function() { updateColors(this.value, undefined); onLocal();