mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 01:10:08 +02:00
Use DOM hidden property instead of attribute methods
This commit is contained in:
parent
3d33313e4e
commit
2ca886baee
6 changed files with 46 additions and 58 deletions
|
@ -125,7 +125,7 @@ class AnnotationLayerBuilder {
|
|||
if (!this.div) {
|
||||
return;
|
||||
}
|
||||
this.div.setAttribute("hidden", "true");
|
||||
this.div.hidden = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue