Adding super connected callback to math

This commit is contained in:
Shan Carter
2017-08-29 15:15:49 -07:00
parent 3a62ccb1ba
commit 364dc01c3b
+1
View File
@@ -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');