Skip to content

Commit 6f67a22

Browse files
Thomas Suckowsdecima
authored andcommitted
Fix style being appended to head multiple times
1 parent 953ee08 commit 6f67a22

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

detect-element-resize.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
}
7373

7474
head.appendChild(style);
75+
stylesCreated = true;
7576
}
7677
}
7778

0 commit comments

Comments
 (0)