mirror of https://github.com/M66B/FairEmail.git
Prevent crash
This commit is contained in:
parent
b1e0f3922d
commit
57857d7ac5
|
@ -218,7 +218,7 @@ public class HtmlHelper {
|
||||||
case "display":
|
case "display":
|
||||||
if ("none".equals(value) && !display_hidden) {
|
if ("none".equals(value) && !display_hidden) {
|
||||||
Log.i("Removing element " + element.tagName());
|
Log.i("Removing element " + element.tagName());
|
||||||
element.remove();
|
element.empty();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue