diff --git a/play.pokemonshowdown.com/src/panel-mainmenu.tsx b/play.pokemonshowdown.com/src/panel-mainmenu.tsx index d2e104f9f..1b3d70738 100644 --- a/play.pokemonshowdown.com/src/panel-mainmenu.tsx +++ b/play.pokemonshowdown.com/src/panel-mainmenu.tsx @@ -484,7 +484,7 @@ class NewsPanel extends PSRoomPanel { change = (ev: Event) => { const target = ev.currentTarget as HTMLInputElement; if (target.value === '1') { - document.cookie = "preactalpha=1; expires=Thu, 1 Jan 2026 12:00:00 UTC; path=/"; + document.cookie = "preactalpha=1; expires=Thu, 1 May 2026 12:00:00 UTC; path=/"; } else { document.cookie = "preactalpha=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"; } diff --git a/play.pokemonshowdown.com/src/panels.tsx b/play.pokemonshowdown.com/src/panels.tsx index 233fc3e6e..0749f3708 100644 --- a/play.pokemonshowdown.com/src/panels.tsx +++ b/play.pokemonshowdown.com/src/panels.tsx @@ -702,6 +702,11 @@ export class PSView extends preact.Component { parentElem: elem, }); return true; + case 'openOptions': + PS.join('options' as RoomID, { + parentElem: elem, + }); + return true; case 'showOtherFormats': { // TODO: refactor to a command after we drop support for the old client const table = elem.closest('table');