mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-05-09 12:34:58 -05:00
Changed format column separator; prefixed by a comma
This commit is contained in:
parent
51ecb2a6e6
commit
78f5247cdb
12
js/client.js
12
js/client.js
|
|
@ -928,13 +928,15 @@
|
|||
if (isSection) {
|
||||
section = formatsList[j];
|
||||
isSection = false;
|
||||
} else if (formatsList[j] === '' || !isNaN(formatsList[j])) {
|
||||
} else if (formatsList[j] === '' || (formatsList[j].substr(0, 1) === ',' && !isNaN(formatsList[j].substr(1)))) {
|
||||
isSection = true;
|
||||
|
||||
var newColumn = parseInt(formatsList[j]) || 0;
|
||||
if (column !== newColumn) {
|
||||
column = newColumn;
|
||||
columnChanged = true;
|
||||
if (formatsList[j]) {
|
||||
var newColumn = parseInt(formatsList[j].substr(1)) || 0;
|
||||
if (column !== newColumn) {
|
||||
column = newColumn;
|
||||
columnChanged = true;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
var searchShow = true;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user