Wait for MathJax for tests, rather than MathJax.isReady

This commit is contained in:
Calen Pennington
2018-03-06 16:35:26 -05:00
parent f166ee2592
commit f557bad5a3
4 changed files with 5 additions and 6 deletions

View File

@@ -68,8 +68,7 @@ VIDEO_MENUS = {
}
@js_defined('window.Video', 'window.RequireJS.require', 'window.jQuery',
'window.MathJax', 'window.MathJax.isReady')
@js_defined('window.Video', 'window.jQuery', 'window.MathJax')
class VideoPage(PageObject):
"""
Video player in the courseware.

View File

@@ -91,8 +91,8 @@ FIELDS_WO_CLEAR = [
DELAY = 0.5
@js_defined('window.Video', 'window.RequireJS.require', 'window.jQuery', 'window.XModule', 'window.XBlock',
'window.MathJax', 'window.MathJax.isReady')
@js_defined('window.Video', 'window.jQuery', 'window.XModule', 'window.XBlock',
'window.MathJax')
class VideoComponentPage(VideoPage):
"""
CMS Video Component Page