Skip to content

Commit 533f89f

Browse files
committed
add comment to explain page reload fix in docs searchbar
1 parent 9a2997a commit 533f89f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
<article class="markdown-body">
7979
<div class="searchCondition">
8080
<div>
81-
<form style="display:flex;" v-on:submit.prevent>
81+
<form style="display:flex;" v-on:submit.prevent> <!-- Prevent the page from reloading when Enter key is pressed -->
8282
<label for="search" style="margin-right: 3px;" >search:</label>
8383
<div style="position: relative;">
8484
<input id="search" placeholder="Search all options" v-model="searchCondition">

0 commit comments

Comments
 (0)