aboutsummaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/quickCss.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/quickCss.ts b/src/utils/quickCss.ts
index 02a5c16..0ce1f58 100644
--- a/src/utils/quickCss.ts
+++ b/src/utils/quickCss.ts
@@ -28,7 +28,7 @@ export async function toggle(isEnabled: boolean) {
style.id = "vencord-custom-css";
document.head.appendChild(style);
VencordNative.ipc.on(IpcEvents.QUICK_CSS_UPDATE, (_, css: string) => style.innerText = css);
- style.innerText = await VencordNative.ipc.invoke(IpcEvents.GET_QUICK_CSS);
+ style.textContent = await VencordNative.ipc.invoke(IpcEvents.GET_QUICK_CSS);
}
} else // @ts-ignore yes typescript, property 'disabled' does exist on type 'HTMLStyleElement' u should try reading the docs some time
style.disabled = !isEnabled;