_content/doc/codewalk: fix code iframe size

This was broken at some point in the transition to the new site.
The iframe sizer was failing to run because '#footer' was not resolving.
If we fix it, then we have the problem that the "footer" is enormous
and we don't want to leave room for it on the screen anymore,
so just zero out that part of the computation.

This makes the codewalks viewable again.

Change-Id: I4080063bdb8988eeaf786e0f579e6e0877d97cb5
Reviewed-on: https://go-review.googlesource.com/c/website/+/534859
Auto-Submit: Russ Cox <rsc@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
diff --git a/_content/doc/codewalk/codewalk.js b/_content/doc/codewalk/codewalk.js
index 4f59a8f..569ea51 100644
--- a/_content/doc/codewalk/codewalk.js
+++ b/_content/doc/codewalk/codewalk.js
@@ -149,13 +149,6 @@
           self.changeSelectedComment(self.lastSelected.next()); return false;
       });
 
-  // Workaround for Firefox 2 and 3, which steal focus from the main document
-  // whenever the iframe content is (re)loaded.  The input field is not shown,
-  // but is a way for us to bring focus back to a place where we can detect
-  // keypresses.
-  this.context.find('#code-display')
-      .load(function(ev) {self.shortcutInput.focus();});
-
   jQuery(document).keypress(function(ev) {
     switch(ev.which) {
       case 110:  // 'n'
@@ -288,7 +281,8 @@
 CodewalkViewer.prototype.updateHeight = function() {
   var windowHeight = jQuery(window).height() - 5  // GOK
   var areaHeight = windowHeight - this.codeArea.offset().top
-  var footerHeight = this.context.find('#footer').outerHeight(true)
+  /* The new go.dev footer is too big to keep on the page, so zero out footerHeight */
+  var footerHeight = 0 /* jQuery('.Site-footer').outerHeight(true) */
   this.commentArea.height(areaHeight - footerHeight - this.context.find('#comment-options').outerHeight(true))
   var codeHeight = areaHeight - footerHeight - 15  // GOK
   this.codeArea.height(codeHeight)