diff options
author | Einar Egilsson <einar@einaregilsson.com> | 2020-02-06 08:51:23 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-06 08:51:23 +0000 |
commit | 3d52584077280d9d0e2bcee6b1adf9ff2f9bd4d3 (patch) | |
tree | e51f59174a1a6381bdfb28f09c9744a74d788495 /js/organizemode.js | |
parent | 6a12784be0ac4759e92580c01ac8bfd7f91c4f1f (diff) | |
parent | 226071781cb4bc63f4587cf2df5b3c95b5fd0ccd (diff) |
Merge pull request #185 from ncolletti/nav-btns
grouping works on enable toggle. code clean 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(); |