Code review comment for lp:~huwshimi/lazr-js/autocomplete-enter-580404

Revision history for this message
Martin Pool (mbp) wrote :

s/wat/want

What happens if this.get(QUERY) is actually null? Won't this error? Or maybe that can never happen if ._last_input_completed is false?

I see this code was already in the keydown method and I'm just a bit curious why it's there. Does it need to happen on keydown to stop the default behaviour happening?

« Back to merge proposal