diff --git a/play.pokemonshowdown.com/src/battle-animations.ts b/play.pokemonshowdown.com/src/battle-animations.ts index 8a86f5d49..1dcd4c84e 100644 --- a/play.pokemonshowdown.com/src/battle-animations.ts +++ b/play.pokemonshowdown.com/src/battle-animations.ts @@ -242,7 +242,7 @@ export class BattleScene implements BattleSceneStub { this.stopAnimation(); this.updateBgm(); if (!this.battle.started) { - this.$frame.append('
'); + this.$frame.append(''); this.$frame.find('div.playbutton button[name=play-muted]').click(() => { this.setMute(true); this.battle.play(); diff --git a/play.pokemonshowdown.com/src/battle-log.ts b/play.pokemonshowdown.com/src/battle-log.ts index 84cc57389..5398dd3ac 100644 --- a/play.pokemonshowdown.com/src/battle-log.ts +++ b/play.pokemonshowdown.com/src/battle-log.ts @@ -112,7 +112,7 @@ export class BattleLog { this.skippedLines = true; const el = document.createElement('div'); el.className = 'chat'; - el.innerHTML = ''; + el.innerHTML = ''; const button = el.getElementsByTagName('button')[0]; button?.addEventListener?.('click', e => { e.preventDefault(); diff --git a/play.pokemonshowdown.com/src/battle-searchresults.tsx b/play.pokemonshowdown.com/src/battle-searchresults.tsx index 16d2ef43a..b7e9bb84f 100644 --- a/play.pokemonshowdown.com/src/battle-searchresults.tsx +++ b/play.pokemonshowdown.com/src/battle-searchresults.tsx @@ -381,7 +381,7 @@ export class PSSearchResults extends preact.Component<{ search: DexSearch }> { Filters: {} {search.filters.map(([type, name]) => )} {!search.query && (backspace = delete filter)} diff --git a/play.pokemonshowdown.com/src/panel-battle.tsx b/play.pokemonshowdown.com/src/panel-battle.tsx index 8c9fb34d7..4babdbbdd 100644 --- a/play.pokemonshowdown.com/src/panel-battle.tsx +++ b/play.pokemonshowdown.com/src/panel-battle.tsx @@ -58,7 +58,7 @@ class BattlesPanel extends PSRoomPanel
- {}
+ {}
{
{atEnd ? (
) : room.battle.paused ? (
) : (
)} {}
- +
)}Loading...
; + returnLoading...
; } else if (room.error !== undefined) { returnError: {room.error}
; } else if (!room.ladderData) { @@ -179,7 +179,7 @@ class LadderFormatPanel extends PSRoomPanel
- Seasonal rankings + Seasonal rankings {this.renderSearch()}
@@ -225,7 +225,7 @@ class LadderFormatPanel extends PSRoomPanel{this.renderList()} diff --git a/play.pokemonshowdown.com/src/panel-mainmenu.tsx b/play.pokemonshowdown.com/src/panel-mainmenu.tsx index 8ff401129..7e3009cf4 100644 --- a/play.pokemonshowdown.com/src/panel-mainmenu.tsx +++ b/play.pokemonshowdown.com/src/panel-mainmenu.tsx @@ -434,7 +434,7 @@ class MainMenuPanel extends PSRoomPanel
- +
) : (@@ -744,10 +744,10 @@ class OptionsPanel extends PSRoomPanel {
- if you registered this name: + if you registered this name:
} {loginState?.needsGoogle && <> -if you registered this name:
+if you registered this name:
- if not: + if not:
This is someone else's account. Sorry.
@@ -1501,10 +1501,10 @@ class RoomTabListPanel extends PSRoomPanel {
const verticalTabs = PS.prefs.onepanel === 'vertical';
return
- {PS.leftRoomList.map(roomid => PSHeader.renderRoomTab(roomid))}
+ {PS.leftRoomList.map(roomid => PSHeader.renderRoomTab(roomid, true))}
- {PS.rightRoomList.map(roomid => PSHeader.renderRoomTab(roomid))}
+ {PS.rightRoomList.map(roomid => PSHeader.renderRoomTab(roomid, true))}
- +
- +
{genList.sort().map(gen => [ , " ", ])}
); @@ -763,20 +763,20 @@ class TeamDropdownPanel extends PSRoomPanel { for (let folder in teamBuckets) { if (folder && (this.gen || this.format)) { teamList.push({room.caughtError}