Add missing 'return'
This commit is contained in:
parent
cf8dbd8bfd
commit
3999802c71
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user