diff options
| author | Greg Roach <greg@subaqua.co.uk> | 2021-08-22 19:58:38 +0100 |
|---|---|---|
| committer | Greg Roach <greg@subaqua.co.uk> | 2021-08-22 19:58:38 +0100 |
| commit | 2d8276bad0ebf65cd45fe2dcdd85b3d7175a059d (patch) | |
| tree | 172430103844137c81e28affa8fe0b7a6c0be47f /resources/views/modules/notes | |
| parent | 7aab89b47b7d7d19e855fde6d5c3fafef83b992a (diff) | |
| download | webtrees-2d8276bad0ebf65cd45fe2dcdd85b3d7175a059d.tar.gz webtrees-2d8276bad0ebf65cd45fe2dcdd85b3d7175a059d.tar.bz2 webtrees-2d8276bad0ebf65cd45fe2dcdd85b3d7175a059d.zip | |
Fix: #4000 - persistent checkbox toggles / BS5
Diffstat (limited to 'resources/views/modules/notes')
| -rw-r--r-- | resources/views/modules/notes/tab.phtml | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/resources/views/modules/notes/tab.phtml b/resources/views/modules/notes/tab.phtml index 7d716d7126..6182c0f4eb 100644 --- a/resources/views/modules/notes/tab.phtml +++ b/resources/views/modules/notes/tab.phtml @@ -22,7 +22,7 @@ use Illuminate\Support\Collection; <tr> <td colspan="2"> <label> - <input id="show-level-2-notes" type="checkbox" data-bs-toggle="collapse" data-bs-target=".wt-level-two-note"> + <input id="show-level-2-notes" type="checkbox" data-bs-toggle="collapse" data-bs-target=".wt-level-two-note" data-wt-persist="level-two-notes"> <?= I18N::translate('Show all notes') ?> </label> </td> @@ -57,11 +57,3 @@ use Illuminate\Support\Collection; <?php endif ?> </table> </div> - -<?php View::push('javascript') ?> -<script> - 'use strict'; - - webtrees.persistentToggle("show-level-2-notes"); -</script> -<?php View::endpush() ?> |
