1
0
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:
Dmitriy Simushev 2015-02-03 16:19:01 +00:00
parent 933ced4575
commit 0dca0bb57d

View File

@ -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);
} }