Skip to content

Commit 1c7d74a

Browse files
committed
more mathjax detection
1 parent 538be8d commit 1c7d74a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/controls/src/widget_description.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export class DescriptionView extends DOMWidgetView {
6767

6868
typeset(element: HTMLElement, text?: string): void {
6969
this.displayed.then(() => {
70-
if ((window as any).MathJax) {
70+
if ((window as any).MathJax?.Hub?.Queue) {
7171
return typeset(element, text);
7272
}
7373
const widget_manager: any = this.model.widget_manager;

0 commit comments

Comments
 (0)