summaryrefslogtreecommitdiff
path: root/doc/codewalk/codewalk.js
diff options
context:
space:
mode:
Diffstat (limited to 'doc/codewalk/codewalk.js')
-rw-r--r--doc/codewalk/codewalk.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/codewalk/codewalk.js b/doc/codewalk/codewalk.js
index eb4667ac0..7bfcd3938 100644
--- a/doc/codewalk/codewalk.js
+++ b/doc/codewalk/codewalk.js
@@ -296,7 +296,7 @@ CodewalkViewer.prototype.updateHeight = function() {
this.sizer.height(codeHeight);
};
-jQuery(document).ready(function() {
+window.initFuncs.push(function() {
var viewer = new CodewalkViewer(jQuery('#codewalk-main'));
viewer.selectFirstComment();
viewer.targetCommentLinksAtBlank();