diff --git a/source/Ox.UI/js/Code/DocPanel.js b/source/Ox.UI/js/Code/DocPanel.js index 0680af09..c011a59b 100644 --- a/source/Ox.UI/js/Code/DocPanel.js +++ b/source/Ox.UI/js/Code/DocPanel.js @@ -193,7 +193,7 @@ Ox.DocPanel = function(options, self) { if (!Ox.isEmpty(self.options.results)) { $icon = Ox.Theme.getColorImage( 'symbol' + (expanded === true ? 'Down' : expanded === false ? 'Right' : 'Center'), - !results ? 'none' : results.failed === 0 ? 'passed' : 'failed', + !results ? '' : results.failed === 0 ? 'passed' : 'failed', self.options.showTooltips ? getTooltip(results) : null ); } else if (!Ox.endsWith(id, '/')) { diff --git a/source/Ox.UI/js/Core/Theme.js b/source/Ox.UI/js/Core/Theme.js index 25a58f34..e037f9e2 100644 --- a/source/Ox.UI/js/Core/Theme.js +++ b/source/Ox.UI/js/Core/Theme.js @@ -165,7 +165,7 @@ Ox.Theme = (function() { that.getColorImage = function(name, value, tooltip) { return (tooltip ? Ox.Element({element: '', tooltip: tooltip}) : $('')) .addClass('OxColor OxColorName') - .attr({src: Ox.UI.getImageURL(name, null, value)}) + .attr({src: Ox.UI.getImageURL(name, value)}) .data({OxColor: value, OxImage: name}); };