diff --git a/qutebrowser/browser/webelem.py b/qutebrowser/browser/webelem.py index ecb2f579f..17be79bac 100644 --- a/qutebrowser/browser/webelem.py +++ b/qutebrowser/browser/webelem.py @@ -241,6 +241,7 @@ class WebElementWrapper(collections.abc.MutableMapping): for klass in self._elem.classes(): if any([klass.startswith(e) for e in div_classes]): return True + return False def is_editable(self, strict=False): """Check whether we should switch to insert mode for this element.