From 1bab69c71fa932adbd5a11db384d5c39a30a9687 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Thu, 20 Jun 2024 02:20:48 +0200 Subject: [PATCH] Use search bar to jump to studio immediately --- src/UI/BigComponents/MoreScreen.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/UI/BigComponents/MoreScreen.ts b/src/UI/BigComponents/MoreScreen.ts index 1019175da..380948cda 100644 --- a/src/UI/BigComponents/MoreScreen.ts +++ b/src/UI/BigComponents/MoreScreen.ts @@ -27,6 +27,10 @@ export default class MoreScreen { if (searchTerm === "osmcha" || searchTerm === "stats") { window.location.href = Utils.OsmChaLinkFor(7) } + if (searchTerm === "studio" ) { + window.location.href = "./studio.html" + + } // Enter pressed -> search the first _official_ matchin theme and open it const publicTheme = MoreScreen.officialThemes.find( (th) =>