Skip to content

Commit

Permalink
Turboclick shouldn't use touchstart
Browse files Browse the repository at this point in the history
This prevents touch devices from scrolling on many pages.
  • Loading branch information
benpate committed Sep 11, 2024
1 parent d053f48 commit a7022bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _embed/templates/theme-global/hyperscript/turboclick._hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
on mousedown or touchstart
on mousedown

set node to the closest <.turboclick /> to the event.target

Expand Down

0 comments on commit a7022bc

Please sign in to comment.