]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/html/static/js/settings.js
rustdoc: name the source page sidebar-toggle `#src-sidebar-toggle`
[rust.git] / src / librustdoc / html / static / js / settings.js
index 5256ae916a771a6121c888c527bd80db8160fe01..589bfc79360ce17f1bdf2d8bcb9c2026b2339e28 100644 (file)
             event.preventDefault();
             const shouldDisplaySettings = settingsMenu.style.display === "none";
 
-            window.hidePopoverMenus();
+            window.hideAllModals();
             if (shouldDisplaySettings) {
                 displaySettings();
             }