You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Another possibility would be to use the native focus() method instead. In fact, it might be worthwhile to consider removing jQuery entirely, since that would improve performance. (Actually, in practice it would probably not improve performance much, but it would improve HoverCraft's Google PageSpeed score, and for most people that is all that matters in life.)
The text was updated successfully, but these errors were encountered:
If you define
SCRIPT_DEBUG
asTRUE
and then click the search icon, the following warning gets displayed in the browser console:This is coming from assets/js/full-screen-search.js
There are a couple of ways this could be fixed:
The simplest thing to do would be to just follow the advice at https://api.jquery.com/focus-shorthand/ and make this change:
Another possibility would be to use the native
focus()
method instead. In fact, it might be worthwhile to consider removing jQuery entirely, since that would improve performance. (Actually, in practice it would probably not improve performance much, but it would improve HoverCraft's Google PageSpeed score, and for most people that is all that matters in life.)The text was updated successfully, but these errors were encountered: