lucky type button otherwise submit sets search

This commit is contained in:
Nato Boram 2021-10-24 23:29:57 -04:00
parent 97f9ed52bf
commit 43d6f41f1d
No known key found for this signature in database
GPG Key ID: 478E3C64BF88AFFA

View File

@ -78,19 +78,19 @@
<!-- Actions -->
<div>
<button
id="search"
class="btn btn-light"
type="submit"
id="search"
onclick="onClickSearch()"
type="submit"
>
Google Search
</button>
<button
id="lucky"
class="btn btn-light"
title="Open the first search result"
type="submit"
id="lucky"
onclick="onClickLucky()"
title="Open the first search result"
type="button"
>
I'm feeling lucky
</button>