mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-18 00:45:47 +00:00
comment-neaten
This commit is contained in:
parent
7cd723ef8e
commit
bf8810d455
1 changed files with 1 additions and 11 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue