Skip to content

Commit 4f4a2d1

Browse files
committed
Unprivate apply method
1 parent 7b50ca5 commit 4f4a2d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,11 +155,11 @@ class GlobalElementStyle extends Element {
155155
this.selector = selector;
156156
const instance = this;
157157
setTimeout(function() {
158-
instance.#apply();
158+
instance.apply();
159159
}, 100);
160160
}
161161

162-
#apply() {
162+
apply() {
163163
document.body.append(this.element);
164164
globalCSS += this.selector + '{' + this.element.getAttribute('style') + '}';
165165
this.element.remove();

0 commit comments

Comments
 (0)