Skip to content
Snippets Groups Projects
Commit d7570de5 authored by Victor Shnayder's avatar Victor Shnayder
Browse files

Merge pull request #1418 from MITx/feature/ichuang/conditional-xmodule-fix-display

fix bug in conditional - videos were not playing, because a js function changed syntax
parents 2306e7c1 0c07f03d
No related branches found
Tags release-2021-06-09-12.41
No related merge requests found
......@@ -18,9 +18,9 @@ class @Conditional
render: (content) ->
if content
@el.html(content)
XModule.loadModules('display', @el)
XModule.loadModules(@el)
else
$.postWithPrefix "#{@url}/conditional_get", (response) =>
@el.html(response.html)
XModule.loadModules('display', @el)
XModule.loadModules(@el)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment