Closed
Description
Because /
is a shortcut the jumps focus to the search field.
It's probably best to test if document.activeElement
is a input
or textarea
tag before stealing focus and calling e.preventDefault()
.
dartdoc/lib/resources/script.js
Lines 193 to 198 in 29db621