diff --git a/html/statbrowser.js b/html/statbrowser.js
index fc9af6bf34c8..78eb7d4e5716 100644
--- a/html/statbrowser.js
+++ b/html/statbrowser.js
@@ -1047,7 +1047,7 @@ function createOptionsButton() {
button.style.order = 999; // last please
button.style.marginLeft = "auto";
button.style.marginRight = "2%";
- menu.appendChild(B);
+ menu.appendChild(button);
}
function openOptionsMenu() {