fix($layouts): prevent js error on search form submit

we're not using the submit event so no reason to bind to it

closes #94
parent ae16f9b6
......@@ -15,7 +15,7 @@
</noscript>
<form v-on:submit.prevent class="form" action="{{ "search" | absURL }}">
<fieldset class="form-group">
<input @keyup.enter="submit" v-model="query" id="query" name="s" type="search" class="form-control" maxlength="32" autocomplete="off">
<input v-model="query" id="query" name="s" type="search" class="form-control" maxlength="32" autocomplete="off">
<div class="help-block">Press <kbd>s</kbd> to focus search input anytime.</div>
</fieldset>
</form>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment