summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/docs/js/bootstrap.js
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/extensions/docs/js/bootstrap.js')
-rw-r--r--chrome/common/extensions/docs/js/bootstrap.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/extensions/docs/js/bootstrap.js b/chrome/common/extensions/docs/js/bootstrap.js
index 8eafa40..ef3b37f 100644
--- a/chrome/common/extensions/docs/js/bootstrap.js
+++ b/chrome/common/extensions/docs/js/bootstrap.js
@@ -23,7 +23,7 @@ function getCurrentBranch() {
var branch = location.href.substring(
officialURL.length,
- officialURL.indexOf('/', officialURL.length));
+ location.href.indexOf('/', officialURL.length));
if (branchNames.indexOf(branch) == -1)
return 'stable';