diff options
| author | Jake Mannens <jake@asger.xyz> | 2026-04-16 02:22:56 +1000 |
|---|---|---|
| committer | Jake Mannens <jake@asger.xyz> | 2026-04-16 02:22:56 +1000 |
| commit | ba86ba12732b3290eaa74936950a370966b41ac5 (patch) | |
| tree | fcb1fb3df3a0edc1d0a27a5336c8cadaef593507 /Pages/Component | |
| parent | d59e751c5b7c23f0dce2a146b6b8ced80231a0cb (diff) | |
v0.10av0.10a
Diffstat (limited to 'Pages/Component')
| -rw-r--r-- | Pages/Component/MobileMenu.razor | 6 | ||||
| -rw-r--r-- | Pages/Component/TagSelectDialog.razor | 11 | ||||
| -rw-r--r-- | Pages/Component/Titlebar.razor | 9 |
3 files changed, 18 insertions, 8 deletions
diff --git a/Pages/Component/MobileMenu.razor b/Pages/Component/MobileMenu.razor index 6cb3281..49c45d5 100644 --- a/Pages/Component/MobileMenu.razor +++ b/Pages/Component/MobileMenu.razor @@ -14,12 +14,6 @@ <a href="javascript:logout();">Logout</a> </div> -<script suppress-error="BL9992"> - function hideMobileMenu() { - document.getElementById('mobile-menu').classList.add('hidden'); - } -</script> - @code { protected override void OnInitialized() => navigationManager.LocationChanged += LocationChanged; diff --git a/Pages/Component/TagSelectDialog.razor b/Pages/Component/TagSelectDialog.razor index 20be31e..87065d7 100644 --- a/Pages/Component/TagSelectDialog.razor +++ b/Pages/Component/TagSelectDialog.razor @@ -7,7 +7,16 @@ <link rel="stylesheet" href="@(nameof(HyperBooru)).styles.css"/> <Dialog Title=@(Title ?? "Select one or more tag(s)") @ref=dialog> - <input type="text" placeholder="Search" @ref=queryInput @oninput=QueryInput @onkeypress=QueryKey value=@query/> + <input + type="text" + placeholder="Search" + autocorrect="off" + autocapitalize="off" + autocomplete="off" + @ref=queryInput + @oninput=QueryInput + @onkeypress=QueryKey + value=@query/> <div class="tag-definitions"> @for(int i = 0; i < tagDefinitions.Count(); i++) { if(!MatchesQuery(tagDefinitions[i].tagDefinition)) diff --git a/Pages/Component/Titlebar.razor b/Pages/Component/Titlebar.razor index a0b9eec..48257b2 100644 --- a/Pages/Component/Titlebar.razor +++ b/Pages/Component/Titlebar.razor @@ -67,7 +67,14 @@ <div id="navbar"> <h2>Login</h2> <form class="login" action="javascript:login();"> - <input id="username" placeholder="Username" type="text"/> + <input + id="username" + placeholder="Username" + type="text" + autocorrect="off" + autocapitalize="off" + autocomplete="off" + autofocus/> <input id="password" placeholder="Password" type="password"/> </form> <a href="javascript:login();">Login</a> |
