Commit b02e5ce2 authored by David Reid's avatar David Reid

scope.

parent b463eaf2
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment