summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/docs/js
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-25 19:19:33 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-25 19:19:33 +0000
commitccc231bc888b9cf2eda7390c4577a4985d5a65df (patch)
tree085f8b696b8e37b009be5eca39bdc40090e30ec8 /chrome/common/extensions/docs/js
parent135494bd600172940ea911a2c203305e55ffda08 (diff)
downloadchromium_src-ccc231bc888b9cf2eda7390c4577a4985d5a65df.zip
chromium_src-ccc231bc888b9cf2eda7390c4577a4985d5a65df.tar.gz
chromium_src-ccc231bc888b9cf2eda7390c4577a4985d5a65df.tar.bz2
Fix bug in extension docs branch warning
TBR=rafaelw@chromium.org Review URL: https://chromiumcodereview.appspot.com/9288027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119098 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/docs/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';