Skip to content

Commit

Permalink
Fix resizer bug
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-gordon committed Sep 6, 2024
1 parent b87f728 commit 2e0ced7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/lib/getSize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export function getSize(label: string, classes: string[]) {
.join(" ")}`
);

resizer.innerHTML = text;
resizer.textContent = text;

if (resizer.firstChild) {
const range = document.createRange();
Expand Down

0 comments on commit 2e0ced7

Please sign in to comment.