We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b50ca5 commit 4f4a2d1Copy full SHA for 4f4a2d1
src/main.js
@@ -155,11 +155,11 @@ class GlobalElementStyle extends Element {
155
this.selector = selector;
156
const instance = this;
157
setTimeout(function() {
158
- instance.#apply();
+ instance.apply();
159
}, 100);
160
}
161
162
- #apply() {
+ apply() {
163
document.body.append(this.element);
164
globalCSS += this.selector + '{' + this.element.getAttribute('style') + '}';
165
this.element.remove();
0 commit comments