mirror of
https://github.com/wassname/template.git
synced 2026-07-24 13:20:06 +08:00
Adding super connected callback to math
This commit is contained in:
@@ -36,6 +36,7 @@ export class DMath extends Mutating(T(HTMLElement)) {
|
||||
}
|
||||
|
||||
connectedCallback() {
|
||||
super.connectedCallback();
|
||||
if (!DMath.katexAdded) {
|
||||
// script tag has to be created to work properly
|
||||
const scriptTag = document.createElement('script');
|
||||
|
||||
Reference in New Issue
Block a user