Only run setup_debug once the page has finished loading

This commit is contained in:
Calen Pennington
2013-03-08 13:39:19 -05:00
parent 1962d247bf
commit 79ad2ecd39

View File

@@ -92,6 +92,7 @@ category = ${category | h}
<script type="text/javascript">
// assumes courseware.html's loaded this method.
$(function () {
setup_debug('${element_id}',
%if edit_link:
'${edit_link}',