diff options
author | David Reid <dreid@dreid.org> | 2016-08-08 09:34:53 -0700 |
---|---|---|
committer | David Reid <dreid@dreid.org> | 2016-08-08 09:34:53 -0700 |
commit | b02e5ce2c1dc45cfa5ae430c429f66f1a21880f0 (patch) | |
tree | e447989bbda5ee5e68804e1aaf2679fd6ec18dfa | |
parent | b463eaf28671501409b10bf8bff63fac5bc99a7c (diff) |
scope.
-rw-r--r-- | pydoctor/templates/pydoctor.js | 2 |
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 { |