mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-07-06 15:15:47 +02:00
Merge pull request #21545 from Snuffleupagus/TextLayer-setAttribute-id-string
Don't needlessly wrap the marked content `id`-attribute in a string
This commit is contained in:
commit
d008aba0b1
@ -303,7 +303,7 @@ class TextLayer {
|
||||
this.#container = document.createElement("span");
|
||||
this.#container.classList.add("markedContent");
|
||||
if (item.id) {
|
||||
this.#container.setAttribute("id", `${item.id}`);
|
||||
this.#container.setAttribute("id", item.id);
|
||||
}
|
||||
if (item.tag === "Artifact") {
|
||||
this.#container.ariaHidden = true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user