| 1822 | 1822 | |
| 1823 | 1823 | function onTagListHintClick() { |
| 1824 | 1824 | $(this).toggleClass('selected'); |
| 1825 | | - $(this).siblings('.tag:not(.actionable)').toggle(100); |
| 1826 | | - $(this).siblings('.innerActionable').toggleClass('hidden'); |
| 1827 | 1825 | |
| 1826 | + const $tagSiblings = $(this).siblings('.tag:not(.actionable)'); |
| 1827 | + |
| 1828 | + if ($(this).hasClass('selected')) { |
| 1829 | + $tagSiblings.show(); |
| 1830 | + } else { |
| 1831 | + $tagSiblings.hide(); |
| 1832 | + } |
| 1833 | + |
| 1834 | + $(this).siblings('.innerActionable').toggleClass('hidden'); |
| 1828 | 1835 | power_user.show_tag_filters = $(this).hasClass('selected'); |
| 1829 | 1836 | saveSettingsDebounced(); |
| 1830 | | - |
| 1831 | 1837 | console.debug('show_tag_filters', power_user.show_tag_filters); |
| 1832 | 1838 | } |
| 1833 | 1839 | |