Use DOM hidden property instead of attribute methods

This commit is contained in:
Tim Nguyen 2021-02-08 00:21:49 +01:00
parent 3d33313e4e
commit 2ca886baee
6 changed files with 46 additions and 58 deletions

View file

@ -125,7 +125,7 @@ class AnnotationLayerBuilder {
if (!this.div) {
return;
}
this.div.setAttribute("hidden", "true");
this.div.hidden = true;
}
}