Skip to content

Commit

Permalink
fix variable rename
Browse files Browse the repository at this point in the history
  • Loading branch information
drammock committed Jun 20, 2023
1 parent a33d17f commit c852909
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ function initRTDObserver() {
var versionSwitcherBtns = document.querySelectorAll(
".version-switcher__button"
);
const hasSwitcherMenu = themeSwitchBtns.length > 0;
const hasSwitcherMenu = versionSwitcherBtns.length > 0;
const hasVersionsJSON = DOCUMENTATION_OPTIONS.hasOwnProperty(
"theme_switcher_json_url"
);
Expand Down

0 comments on commit c852909

Please sign in to comment.