Add missing 'return'

This commit is contained in:
Florian Bruhin 2018-06-11 11:32:26 +02:00
parent cf8dbd8bfd
commit 3999802c71

View File

@ -338,6 +338,7 @@ class WebEngineCaret(browsertab.AbstractCaret):
if js_elem == "focused":
# we had a focused element, not a selected one. Just send <enter>
self._follow_enter(tab)
return
assert isinstance(js_elem, dict), js_elem
elem = webengineelem.WebEngineElement(js_elem, tab=self._tab)