1
0
mirror of https://github.com/kognise/water.css.git synced 2025-08-06 21:27:03 +02:00

Prevent submitting the demo form (#272)

* Prevent submitting the demo form

When the submit button on the demo form is pressed, the form is actually
submitted and the page is refreshed.

Let's prevent the form from submitting by adding a dummy onsubmit
handler that returns false.

* Create hungry-eagles-shout.md

Co-authored-by: Kognise <felix.mattick@gmail.com>
This commit is contained in:
Tan Zhen Yong
2022-01-21 05:09:07 +08:00
committed by GitHub
parent d4a5412de4
commit 059b290e2b
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
"water.css": patch
---
Prevent submitting the demo form