Skip to content

Commit

Permalink
Restore ability to reopen iframe with a standard style
Browse files Browse the repository at this point in the history
  • Loading branch information
faf committed Nov 19, 2018
1 parent 525b7de commit edd279c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mibew/js/source/chat_popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit edd279c

Please sign in to comment.