diff --git a/src/mibew/js/source/chat_popup.js b/src/mibew/js/source/chat_popup.js index 27e4b41c..29803fea 100644 --- a/src/mibew/js/source/chat_popup.js +++ b/src/mibew/js/source/chat_popup.js @@ -452,7 +452,7 @@ var Mibew = Mibew || {}; check.url = url; var style = Mibew.Utils.readCookie('mibew-chat-frame-style-' + this.id); check.onload = function() { - this.popup.open(this.url + '?style=' + style); + this.popup.open(this.url + (style ? '?style=' + style : '')); }; check.onerror = function() { this.popup.close();