diff --git a/js/client-mainmenu.js b/js/client-mainmenu.js index c259b59a49..9841439a0a 100644 --- a/js/client-mainmenu.js +++ b/js/client-mainmenu.js @@ -1260,7 +1260,7 @@ var bufs = []; var curBuf = 0; if (this.selectType === 'watch' && !this.search) { - bufs[1] = '
  • '; + bufs[1] = '
  • '; } for (var i in this.starred) { @@ -1278,7 +1278,7 @@ var formatName = BattleLog.escapeFormat(BattleFormats[i].id); bufs[1] += ( '
  • ' ); } @@ -1314,7 +1314,7 @@ formatName = formatName.replace('[Gen 7 ', '['); bufs[curBuf] += ( '
  • ' ); } @@ -1448,7 +1448,7 @@ if ((!teams[i].format && !teamFormat) || teams[i].format === teamFormat) { var selected = (i === curTeam); if (!this.folderToggleOn) { - bufs[curBuf] += '
  • '; + bufs[curBuf] += '
  • '; count++; if (count % bufBoundary === 0 && curBuf < 4) curBuf++; } else { @@ -1473,7 +1473,7 @@ } } if (!exists) { - bufs[curBuf] += '
  • '; + bufs[curBuf] += '
  • '; count++; if (count % bufBoundary === 0 && curBuf < 4) curBuf++; for (var j = 0; j < folderData.length; j++) { @@ -1483,7 +1483,7 @@ if (count % bufBoundary === 0 && curBuf < 4) curBuf++; } } else { - bufs[curBuf] += '
  • '; + bufs[curBuf] += '
  • '; count++; if (count % bufBoundary === 0 && curBuf < 4) curBuf++; } @@ -1496,19 +1496,18 @@ } } if (!isNoFolder) { - bufs[curBuf] += '
  • '; + bufs[curBuf] += '
  • '; } else { - bufs[curBuf] += '
  • '; + bufs[curBuf] += '
  • '; count++; if (count % bufBoundary === 0 && count != 0 && curBuf < 4) curBuf++; } - console.log(teamFormat); if (!isNoFolder) { for (var i = 0; i < teams.length; i++) { if ((!teams[i].format && !teamFormat) || teams[i].format === teamFormat) { var selected = (i === curTeam); if (teams[i].folder === "") { - bufs[curBuf] += '
  • '; + bufs[curBuf] += '
  • '; count++; if (count % bufBoundary === 0 && curBuf < 4) curBuf++; } @@ -1528,7 +1527,7 @@ for (var i = 0; i < teams.length; i++) { if (teamFormat && teams[i].format === teamFormat) continue; var selected = (i === curTeam); - bufs[curBuf] += '
  • '; + bufs[curBuf] += '
  • '; count++; if (count % bufBoundary === 0 && curBuf < 4) curBuf++; } diff --git a/js/client-teambuilder.js b/js/client-teambuilder.js index 45d0442def..da48d8e855 100644 --- a/js/client-teambuilder.js +++ b/js/client-teambuilder.js @@ -189,10 +189,10 @@ if (this.exportMode) { if (this.curFolder) { - buf = '
    '; + buf = '
    '; buf += '
    '; } else { - buf = '
    '; + buf = '
    '; buf += '