Skip to content

Add type="button" to non-submit buttons in CommentBox#212

Merged
laymonage merged 1 commit into
mainfrom
fix-button
Nov 6, 2021
Merged

Add type="button" to non-submit buttons in CommentBox#212
laymonage merged 1 commit into
mainfrom
fix-button

Conversation

@laymonage

@laymonage laymonage commented Nov 6, 2021

Copy link
Copy Markdown
Member

Regression in #211. Changing the <div> into <form> makes all the buttons fire a submit event by default.

@vercel

vercel Bot commented Nov 6, 2021

Copy link
Copy Markdown

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/giscus/giscus/6jmc1fcBmtqkyUtmKP8ChjoHD5Uh
✅ Preview: https://giscus-git-fix-button-giscus.vercel.app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant