Use correct url argument
This commit is contained in:
@@ -346,11 +346,11 @@ new Vue({
|
|||||||
if (!url) {
|
if (!url) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (url.indexOf('pa=') !== -1) {
|
if (url.indexOf('agenturcode=') !== -1) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const separator = url.indexOf('?') === -1 ? '?' : '&';
|
const separator = url.indexOf('?') === -1 ? '?' : '&';
|
||||||
url += separator + 'pa=' + paCode;
|
url += separator + 'agenturcode=' + paCode;
|
||||||
$(this).attr('href', url);
|
$(this).attr('href', url);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user