summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Reid <dreid@dreid.org>2016-08-08 09:34:53 -0700
committerDavid Reid <dreid@dreid.org>2016-08-08 09:34:53 -0700
commitb02e5ce2c1dc45cfa5ae430c429f66f1a21880f0 (patch)
treee447989bbda5ee5e68804e1aaf2679fd6ec18dfa
parentb463eaf28671501409b10bf8bff63fac5bc99a7c (diff)
scope.
-rw-r--r--pydoctor/templates/pydoctor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/pydoctor/templates/pydoctor.js b/pydoctor/templates/pydoctor.js
index ada1b33..427e13e 100644
--- a/pydoctor/templates/pydoctor.js
+++ b/pydoctor/templates/pydoctor.js
@@ -2,7 +2,7 @@ function togglePrivate() {
// Hide all private things by adding the private-hidden class to them.
document.body.classList.toggle("private-hidden");
- button = document.querySelector('#showPrivate button');
+ var button = document.querySelector('#showPrivate button');
if(document.body.classList.contains('private-hidden')) {
button.innerText = 'Show Private API';
} else {