diff --git a/doc/js/miller-doc-toggler.js b/doc/js/miller-doc-toggler.js index db26b6d1a..ade79f501 100644 --- a/doc/js/miller-doc-toggler.js +++ b/doc/js/miller-doc-toggler.js @@ -9,7 +9,7 @@ class MillerDocToggler { // ---------------------------------------------------------------- // PUBLIC METHODS - // Array of toggleable div names, without leading '#' + // Prefix for toggleable div names, without leading '#' constructor(toggleableDivPrefix, buttonSelectFontWeight, buttonDeselectFontWeight) { this._allDivNames = []; const divs = document.querySelectorAll('div'); @@ -124,16 +124,6 @@ class MillerDocToggler { //button.style.borderStyle = 'none'; }; -// window.onload = function() { -// if ('URLSearchParams' in window) { -// let searchParams = new URLSearchParams(window.location.search); -// let expanded = searchParams.get('expanded'); -// if (expanded != null) { -// _expand(expanded) -// } -// } -// }; - } // module.exports = MillerDocToggler;