summaryrefslogtreecommitdiff
path: root/doc/codewalk/codewalk.js
diff options
context:
space:
mode:
authorShenghou Ma <minux.ma@gmail.com>2012-10-05 23:51:40 +0800
committerShenghou Ma <minux.ma@gmail.com>2012-10-05 23:51:40 +0800
commit4077819f558bd7020bc6d66da6827ce97ce63b99 (patch)
tree8681b61b6e7c03be8f8941c779c5ac592269bc70 /doc/codewalk/codewalk.js
parent1f6fba2d5648edb757644431b87f93c8481f36c1 (diff)
downloadgo-git-4077819f558bd7020bc6d66da6827ce97ce63b99.tar.gz
doc/codewalk: make it work with jQuery 1.8.2
so that it could work with the bundled jQuery. R=adg CC=golang-dev https://golang.org/cl/6592073
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 f780bc7a57..eb4667ac0c 100644
--- a/doc/codewalk/codewalk.js
+++ b/doc/codewalk/codewalk.js
@@ -297,7 +297,7 @@ CodewalkViewer.prototype.updateHeight = function() {
};
jQuery(document).ready(function() {
- var viewer = new CodewalkViewer(jQuery());
+ var viewer = new CodewalkViewer(jQuery('#codewalk-main'));
viewer.selectFirstComment();
viewer.targetCommentLinksAtBlank();
viewer.installEventHandlers();