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 --> <!-- Actions -->
<div> <div>
<button <button
id="search"
class="btn btn-light" class="btn btn-light"
type="submit" id="search"
onclick="onClickSearch()" onclick="onClickSearch()"
type="submit"
> >
Google Search Google Search
</button> </button>
<button <button
id="lucky"
class="btn btn-light" class="btn btn-light"
title="Open the first search result" id="lucky"
type="submit"
onclick="onClickLucky()" onclick="onClickLucky()"
title="Open the first search result"
type="button"
> >
I'm feeling lucky I'm feeling lucky
</button> </button>