Browse Source

[ENH] Change tag filtering behavior

pull/38/head
Boris 2 months ago
parent
commit
1121d8c9fd
  1. 12
      www/boris/youtube.php

12
www/boris/youtube.php

@ -193,7 +193,7 @@ echo '
</nav>
';
if (!empty($tagFilter)) {
// if (!empty($tagFilter)) {
echo '
<nav id="tagfilter">
@ -238,8 +238,9 @@ if (!empty($tagFilter)) {
echo '
</ul>
</nav>';
}
// }
/*
echo '
<nav id="browse">
<h3>Parcourir</h3>
@ -265,7 +266,10 @@ echo '
}
echo '
</ul>
</nav>
</nav>';
*/
echo '
</div>
</aside>';
@ -324,6 +328,8 @@ foreach ($videosList as $video) {
$tagQueryArray = array_diff($tagFilter, $tagArray);
}
$tagQueryArray = $tagArray;
$classes = $selectedTag ? ' selected' : 'selectable';
if (!empty($tagQueryArray)) {

Loading…
Cancel
Save