featured + search filters don't seem to mix

This commit is contained in:
GDColon 2020-03-15 22:18:54 -04:00
parent b1490c1e2b
commit 13c81df3b2
2 changed files with 1 additions and 0 deletions

View file

Before

Width:  |  Height:  |  Size: 8.2 KiB

After

Width:  |  Height:  |  Size: 8.2 KiB

View file

@ -123,6 +123,7 @@ $('#userSearch').click(function() {
$('.levelSearch').click(function() {
let url = "./search/" + (encodeURIComponent($('#levelName').val()) || "*") + "?type=" + $(this).attr('search')
if ($(this).attr('search') == "featured") return window.location.href = url
// === DIFFICULTY === //
let difficulties = []