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
This commit is contained in:
Shenghou Ma 2012-10-05 23:51:40 +08:00
parent 1f6fba2d56
commit 4077819f55

View file

@ -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();