Commit c38aec5b by arjun810

Merge pull request #849 from MITx/kimth/fix-html-js

Don't function call on null
parents 57e4f0dd 61b38571
......@@ -15,7 +15,7 @@ class @JavascriptLoader
placeholders = el.find(".script_placeholder")
if placeholders.length == 0
callback()
callback() if callback?
return
# TODO: Verify the execution order of multiple placeholders
......
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