mirror of
https://github.com/Mibew/mibew.git
synced 2024-11-15 00:24:12 +03:00
Restore ability to reopen iframe with a standard style
This commit is contained in:
parent
525b7de7e2
commit
edd279ca8e
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user