Skip to content

Commit 2235c13

Browse files
committed
Change from click to mousedown
1 parent a2dd6fb commit 2235c13

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Built using .NET 9.0 (through 3.1, 5.0, 6.0 and 8.0) and with these packages and
3030
| [cross-env](https://github.com/kentcdodds/cross-env) | MIT |
3131
| [npm-run-all](https://github.com/mysticatea/npm-run-all) | MIT |
3232

33-
Other things can be involved too but these are the ones I take a driect dependency on.
33+
Other things can be involved too but these are the ones I take a direct dependency on.
3434

3535
### Quality control tools
3636

src/Krompaco.RecordCollector.Web/Components/Layout/MainLayout.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
aria-expanded="false"
100100
aria-controls="header-menu"
101101
aria-label="@Model.Localizer["Open menu"]"
102-
data-script="on click
102+
data-script="on mousedown
103103
toggle .hidden on #header-menu
104104
then if @@aria-expanded == 'true'
105105
set @@aria-expanded to 'false'

src/Krompaco.RecordCollector.Web/Components/Navigation/MenuItem.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
aria-controls="@listId"
1717
aria-label="@Model.Localizer["Open"] @Model.Text"
1818
class="group p-[6px] mt-[3px] rc-menu-link justify-self-end"
19-
data-script="on click
19+
data-script="on mousedown
2020
toggle .hidden on #@listId
2121
then if @@aria-expanded == 'true'
2222
set @@aria-expanded to 'false'

0 commit comments

Comments
 (0)