Remove form to handle enter key behavior

borken-flask
HeNine 3 years ago
parent c16ce915b7
commit 0382be623b

@ -9,9 +9,9 @@
<body onload="onSiteLoad()"> <body onload="onSiteLoad()">
<div id="search_tools"> <div id="search_tools">
<form>
<div id="text_search_line" class="form_line"> <div id="text_search_line" class="form_line">
<label for="search_text">Search</label> <input id="search_text" oninput="doSearch()" <label for="search_text">Search</label> <input type="search" id="search_text" oninput="doSearch()"
placeholder="Supports quotes, 'or' and -."> placeholder="Supports quotes, 'or' and -.">
</div> </div>
<div id="time_search_line" class="form_line"> <div id="time_search_line" class="form_line">
@ -19,7 +19,7 @@
<label for="end_time">End time</label> <input id="end_time" type="datetime-local"> <label for="end_time">End time</label> <input id="end_time" type="datetime-local">
<button id="search_button" onclick="doSearch()" type="button">Search</button> <button id="search_button" onclick="doSearch()" type="button">Search</button>
</div> </div>
</form>
</div> </div>
<div id="results"> <div id="results">

Loading…
Cancel
Save