File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -158,6 +158,10 @@ function ConfigureMathJax() {
158158
159159 delete MathJax . Hub . config . styles ; // don't need any styles
160160 MathJax . Hub . Startup . MenuZoom = function ( ) { } ; // don't load menu or zoom code
161+ MathJax . Extension . MathEvents = {
162+ Event :{ } , Touch :{ } , Hover :{ } // fake structure to avid errors
163+ } ;
164+ MathJax . Ajax . loaded [ MathJax . Ajax . fileURL ( "[MathJax]/extensions/MathEvents.js" ) ] = true ;
161165
162166 //
163167 // When creating stylesheets, no need to wait for them
Original file line number Diff line number Diff line change @@ -159,6 +159,10 @@ function ConfigureMathJax() {
159159
160160 delete MathJax . Hub . config . styles ; // don't need any styles
161161 MathJax . Hub . Startup . MenuZoom = function ( ) { } ; // don't load menu or zoom code
162+ MathJax . Extension . MathEvents = {
163+ Event :{ } , Touch :{ } , Hover :{ } // fake structure to avid errors
164+ } ;
165+ MathJax . Ajax . loaded [ MathJax . Ajax . fileURL ( "[MathJax]/extensions/MathEvents.js" ) ] = true ;
162166
163167 //
164168 // When creating stylesheets, no need to wait for them
You can’t perform that action at this time.
0 commit comments