mirror of
https://github.com/Mibew/mibew.git
synced 2025-06-06 09:06:15 +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
|
return this.url
|
||||||
+ ((this.url.indexOf('?') === -1) ? '?' : '&') + 'url=' + encodeURIComponent(href)
|
+ ((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.
|
// are loading.
|
||||||
this.attachDefaultStyles();
|
this.attachDefaultStyles();
|
||||||
// Load extra style sheets.
|
// 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.
|
// Check if the popup should be reopened.
|
||||||
var openedChatUrl = Mibew.Utils.readCookie('mibew-chat-frame-' + this.id);
|
var openedChatUrl = Mibew.Utils.readCookie('mibew-chat-frame-' + this.id);
|
||||||
|
Loading…
Reference in New Issue
Block a user