🐛 clear-store: make button visible, maybe

This commit is contained in:
Dan Jones 2021-10-01 22:38:05 -05:00
commit 89ef621228

View file

@ -29,7 +29,7 @@
const $leftNav = $('.subnav-wrapper .container .left'); const $leftNav = $('.subnav-wrapper .container .left');
const $found = $leftNav.find('.clear-store'); const $found = $leftNav.find('.clear-store');
if (!$found.length) { if (!$found.length) {
$leftNav.append('<span class="filter-dropdown toggle-simple-progress clear-store" title="Clear Storage"><span class="icon trakt-icon-cancel"></span></span>') $leftNav.append('<span class="filter-dropdown toggle-simple-progress clear-store" title="Clear Storage"><span class="icon trakt-icon-cancel"></span>X</span>')
.find('.clear-store').on('click', clearStorage); .find('.clear-store').on('click', clearStorage);
} }
} }