Use correct url argument

This commit is contained in:
Björn Fromme
2018-12-19 16:16:38 +01:00
parent 0f989d5110
commit 3158004818
@@ -346,11 +346,11 @@ new Vue({
if (!url) {
return;
}
if (url.indexOf('pa=') !== -1) {
if (url.indexOf('agenturcode=') !== -1) {
return;
}
const separator = url.indexOf('?') === -1 ? '?' : '&';
url += separator + 'pa=' + paCode;
url += separator + 'agenturcode=' + paCode;
$(this).attr('href', url);
});
}