From 4077819f558bd7020bc6d66da6827ce97ce63b99 Mon Sep 17 00:00:00 2001 From: Shenghou Ma Date: Fri, 5 Oct 2012 23:51:40 +0800 Subject: [PATCH] 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 --- doc/codewalk/codewalk.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.48.1