From 7c1c4c77374d2bd6a3827baa2ea0f14b6c24ec74 Mon Sep 17 00:00:00 2001 From: rolux Date: Fri, 17 May 2013 13:52:09 +0200 Subject: [PATCH] cosmetic changes --- static/js/pandora/UI.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/js/pandora/UI.js b/static/js/pandora/UI.js index 60ba1e67..a2239051 100644 --- a/static/js/pandora/UI.js +++ b/static/js/pandora/UI.js @@ -182,7 +182,9 @@ pandora.UI = (function() { } }); }); - !pandora.isEmbedURL() && !pandora.isPrintURL() && Ox.len(set) && pandora.api.setUI(set); + if (Ox.len(set) && !pandora.isEmbedURL() && !pandora.isPrintURL()) { + pandora.api.setUI(set); + } triggerEvents && Ox.forEach(trigger, function(val, key) { Ox.Log('UI', 'TRIGGER ' + key + ' ' + val); Ox.forEach(pandora.$ui, function(element) {