1
0
Fork 0

remove comment

master
Dimitri Gigot 2020-03-26 13:44:19 +00:00
parent 784dcf9751
commit 90c50f1282
1 changed files with 1 additions and 2 deletions

View File

@ -254,7 +254,7 @@ function showTab(tabname) {
var chips = Array.from(document.querySelectorAll('.chip')).map(chip => chip.attributes.filterid.value)
var hash = window.location.hash ? window.location.hash.slice(1) : '';
var activeFilter = !!~chips.indexOf(hash) ? hash : ''//window.location.hash ? window.location.hash.slice(1) : '';
var activeFilter = !!~chips.indexOf(hash) ? hash : '';
var currentSearch = '';
function refreshFilter(){
@ -517,7 +517,6 @@ Comms.watchConnectionChange(handleConnectionChange);
var filtersContainer = document.querySelector("#librarycontainer .filter-nav");
filtersContainer.addEventListener('click', ({ target }) => {
//if (!target.hasAttribute('filterid')) return;
if (target.classList.contains('active')) return;
activeFilter = target.getAttribute('filterid') || '';