mirror of
https://github.com/Mibew/mibew.git
synced 2025-02-25 07:44:33 +03:00
Build correct URLs for chat popups
This commit is contained in:
parent
933ced4575
commit
0dca0bb57d
@ -283,7 +283,7 @@ var Mibew = Mibew || {};
|
|||||||
}
|
}
|
||||||
|
|
||||||
return this.url
|
return this.url
|
||||||
+ ((this.url.indexOf('?') === false) ? '?' : '&') + 'url=' + escape(href)
|
+ ((this.url.indexOf('?') === -1) ? '?' : '&') + 'url=' + escape(href)
|
||||||
+ '&referrer=' + escape(referrer);
|
+ '&referrer=' + escape(referrer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user