Commit d7570de5 by Victor Shnayder

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
......@@ -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)
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