Use search bar to jump to studio immediately
This commit is contained in:
parent
3525ca728d
commit
1bab69c71f
1 changed files with 4 additions and 0 deletions
|
@ -27,6 +27,10 @@ export default class MoreScreen {
|
||||||
if (searchTerm === "osmcha" || searchTerm === "stats") {
|
if (searchTerm === "osmcha" || searchTerm === "stats") {
|
||||||
window.location.href = Utils.OsmChaLinkFor(7)
|
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
|
// Enter pressed -> search the first _official_ matchin theme and open it
|
||||||
const publicTheme = MoreScreen.officialThemes.find(
|
const publicTheme = MoreScreen.officialThemes.find(
|
||||||
(th) =>
|
(th) =>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue