diff options
author | Nick Colletti <gnomish@gmail.com> | 2020-02-04 19:15:46 -0500 |
---|---|---|
committer | Nick Colletti <gnomish@gmail.com> | 2020-02-04 19:15:46 -0500 |
commit | 77d92e6edd9d5aadd86f7259994dc824b5eda376 (patch) | |
tree | 7e325245550789fd2f3c74233ff2c47008b98dda /js/organizemode.js | |
parent | e160789614b80a86133b820e1419c9457c5bf3e2 (diff) |
grouping works on enable toggle. cleaned up.
Diffstat (limited to 'js/organizemode.js')
-rw-r--r-- | js/organizemode.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/js/organizemode.js b/js/organizemode.js index 800a53f..f550d1b 100644 --- a/js/organizemode.js +++ b/js/organizemode.js @@ -3,7 +3,7 @@ function displayOrganizeModeMessage() { if(el('#message-box').classList.contains('visible')) { hideMessage(); } else { - showMessage("Use ⟱ to move a redirect to the bottom, ⟰ to move to the top, and use the checkboxes to select multiple redirects and move them together.", true) + showMessage("Use ⟱ to move a redirect to the bottom, ⟰ to move to the top, and use the checkboxes to select multiple redirects.", true) } } @@ -24,11 +24,7 @@ function organizeModeToggle(ev) { } } - // let buttonText = el('#organize-mode').textContent; - // buttonText.includes('Show') ? el('#organize-mode').textContent = 'Hide Organize' : el('#organize-mode').textContent = 'Show Organize'; - let buttonClasses = el('#organize-mode').classList; - console.log('NSC: organizeModeToggle -> buttonClasses', buttonClasses); !buttonClasses.contains('active') ? el('#organize-mode').classList.add('active') : el('#organize-mode').classList.remove('active'); displayOrganizeModeMessage(); |