mirror of
https://github.com/Mibew/mibew.git
synced 2025-06-03 07:36:16 +03:00
add _t param for force refresh
This commit is contained in:
parent
8d44e2bc2b
commit
ef7017c783
@ -278,7 +278,7 @@ var Mibew = Mibew || {};
|
||||
|
||||
return this.url
|
||||
+ ((this.url.indexOf('?') === -1) ? '?' : '&') + 'url=' + encodeURIComponent(href)
|
||||
+ '&referrer=' + encodeURIComponent(referrer);
|
||||
+ '&referrer=' + encodeURIComponent(referrer) + "&_t=" + new Date().getTime();
|
||||
}
|
||||
|
||||
/**
|
||||
@ -308,7 +308,7 @@ var Mibew = Mibew || {};
|
||||
// are loading.
|
||||
this.attachDefaultStyles();
|
||||
// Load extra style sheets.
|
||||
Mibew.Utils.loadScript(this.styleLoader);
|
||||
Mibew.Utils.loadScript(this.styleLoader + "?_t=" + new Date().getTime());
|
||||
|
||||
// Check if the popup should be reopened.
|
||||
var openedChatUrl = Mibew.Utils.readCookie('mibew-chat-frame-' + this.id);
|
||||
|
Loading…
Reference in New Issue
Block a user