Commit 7f137487 by Christine Lytwynec

Merge pull request #7463 from edx/clytwynec/flaky-mathjax

wait for both window.MathJax and window.MathJax.onReady
parents 65356f8a 5204fd65
...@@ -53,7 +53,8 @@ VIDEO_MENUS = { ...@@ -53,7 +53,8 @@ VIDEO_MENUS = {
} }
@js_defined('window.Video', 'window.RequireJS.require', 'window.jQuery') @js_defined('window.Video', 'window.RequireJS.require', 'window.jQuery',
'window.MathJax', 'window.MathJax.isReady')
class VideoPage(PageObject): class VideoPage(PageObject):
""" """
Video player in the courseware. Video player in the courseware.
......
...@@ -80,7 +80,7 @@ DELAY = 0.5 ...@@ -80,7 +80,7 @@ DELAY = 0.5
@js_defined('window.Video', 'window.RequireJS.require', 'window.jQuery', 'window.XModule', 'window.XBlock', @js_defined('window.Video', 'window.RequireJS.require', 'window.jQuery', 'window.XModule', 'window.XBlock',
'window.MathJax.isReady') 'window.MathJax', 'window.MathJax.isReady')
class VideoComponentPage(VideoPage): class VideoComponentPage(VideoPage):
""" """
CMS Video Component Page CMS Video Component Page
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment