Fix string concatenation when returning to the previous page in the browser
This commit is contained in:
parent
2e108b2edd
commit
3c5737f3d7
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ ForkBB.common = (function (doc, win) {
|
|||
var inps = doc.querySelectorAll("input[type='hidden'][name='nekot']");
|
||||
|
||||
for (var i = 0; i < inps.length; i++) {
|
||||
inps[i].value += (inps[i].parentNode.querySelector("input[type='hidden'][name='token']").value.replace(/\D/g, '').replace(/(......).*/, '$1'));
|
||||
inps[i].value = (inps[i].parentNode.querySelector("input[type='hidden'][name='token']").value.replace(/\D/g, '').replace(/(......).*/, '$1'));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue