feat: Unify format for IDs
This commit is contained in:
parent
759283fd9f
commit
b1c7f4100e
4 changed files with 13 additions and 13 deletions
|
|
@ -11,7 +11,7 @@ tags:
|
|||
{% block body %}
|
||||
<main>
|
||||
<form id="www-search" class="flex inline" action="https://duckduckgo.com/">
|
||||
<input id="query" class="input_io" name="q" placeholder="Suchbegriff" type="text" required/>
|
||||
<input id="qrySearch" class="input_io" name="q" placeholder="Suchbegriff" type="text" required/>
|
||||
<input class="button_io" value="Suchen" type="submit"/>
|
||||
</form>
|
||||
<div class="blocks">
|
||||
|
|
@ -69,7 +69,7 @@ tags:
|
|||
|
||||
document.getElementById('www-search').addEventListener('submit', function (e) {
|
||||
e.preventDefault();
|
||||
const query = document.getElementById('query').value.trim();
|
||||
const query = document.getElementById('qrySearch').value.trim();
|
||||
|
||||
if (!query) return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue