Use correct url argument
This commit is contained in:
@@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user