Only run setup_debug once the page has finished loading
This commit is contained in:
@@ -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}',
|
||||
|
||||
Reference in New Issue
Block a user