From 5d592f6f4e46ff22ac2f0a2a05d5e03c22bd1db1 Mon Sep 17 00:00:00 2001 From: Ruben Almeida Date: Wed, 17 Aug 2016 17:52:30 +0200 Subject: [PATCH] IE8- fail with 'new' in same instance See issue #1 --- colorPicker.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/colorPicker.js b/colorPicker.js index 918b969..63405ea 100644 --- a/colorPicker.js +++ b/colorPicker.js @@ -1158,9 +1158,9 @@ colors._rgb.b !== colors.rgb.b ] : []; if (tmp.join('') !== cashedVars.outOfGammut) { - nodes.rgb_r_labl.firstChild.data = tmp[0] ? '!' : ' '; - nodes.rgb_g_labl.firstChild.data = tmp[1] ? '!' : ' '; - nodes.rgb_b_labl.firstChild.data = tmp[2] ? '!' : ' '; + nodes.rgb_r_labl.firstChild.data = tmp[0] ? '!' : '.'; + nodes.rgb_g_labl.firstChild.data = tmp[1] ? '!' : '.'; + nodes.rgb_b_labl.firstChild.data = tmp[2] ? '!' : '.'; cashedVars.outOfGammut = tmp.join(''); } if (renderVars.noRGBZ) {