Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Unified Diff: doc/templates/index.html

Issue 872873002: Return 404s for unknown URLs. Also scroll back to the top of the page upon following a link. (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « doc/go/docserver/main.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: doc/templates/index.html
diff --git a/doc/templates/index.html b/doc/templates/index.html
index e78bd849921bfb2176b4f827a19f9a646cdabd15..23c0e3969be3831449a4e5826613c5fdd4e8a531 100644
--- a/doc/templates/index.html
+++ b/doc/templates/index.html
@@ -87,6 +87,7 @@
window.history.pushState(null, null, url);
highlightNav();
$$$('html #content').innerHTML = content;
+ $$$('html #page').scrollIntoView();
prettyPrint();
});
e.preventDefault();
« no previous file with comments | « doc/go/docserver/main.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698