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

Unified Diff: chrome/common/extensions/docs/js/bootstrap.js

Issue 9350019: Adding a trailing '/' to the doc switcher URL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: License. Created 8 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/js/bootstrap.js
diff --git a/chrome/common/extensions/docs/js/bootstrap.js b/chrome/common/extensions/docs/js/bootstrap.js
index ef3b37fa790d86c008d6822eddfd089212953bb6..3686a385f6a2037219a2a7e5c2bcd8271c7652df 100644
--- a/chrome/common/extensions/docs/js/bootstrap.js
+++ b/chrome/common/extensions/docs/js/bootstrap.js
@@ -1,3 +1,7 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
var fileXHREnabled = function() {
var xhr = new XMLHttpRequest();
try {
@@ -76,7 +80,7 @@ if (window.location.search == "?regenerate" ||
currentBranch.toUpperCase();
document.getElementById('branchWarning').style.display = 'block';
document.getElementById('branchChooser').onchange = function() {
- location.href = officialURL + this.value;
+ location.href = officialURL + this.value + "/";
};
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698