I would like the event not to be activated in the input.
My code html
<header>
<nav class="titlebar" ondblclick="test()">
<input class="box" type="text">
<hr>
</nav>
</header>
my code js
function test() {
alert('holi')
}