js: Drop trailing a's from the nav view code
They hold no real information.
This commit is contained in:
parent
1404ee6c47
commit
2ed30b214c
1 changed files with 1 additions and 1 deletions
|
|
@ -480,7 +480,7 @@ function navSerialize() {
|
||||||
for(var j=0; j<VARS.mans[i][3].length; j++)
|
for(var j=0; j<VARS.mans[i][3].length; j++)
|
||||||
if(j+1 < VARS.mans[i][3].length && VARS.mans[i][3][j+1][0] == VARS.mans[i][3][j][0] && (j == 0 || VARS.mans[i][3][j-1][0] != VARS.mans[i][3][j][0]))
|
if(j+1 < VARS.mans[i][3].length && VARS.mans[i][3][j+1][0] == VARS.mans[i][3][j][0] && (j == 0 || VARS.mans[i][3][j-1][0] != VARS.mans[i][3][j][0]))
|
||||||
a.push(!!VARS.mans[i][3][j+1][3]);
|
a.push(!!VARS.mans[i][3][j+1][3]);
|
||||||
return bsEncode(a);
|
return bsEncode(a).replace(/(.)a+$/, '$1');
|
||||||
}
|
}
|
||||||
|
|
||||||
// And the reverse of the above.
|
// And the reverse of the above.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue