ui: fix search by tag

This commit is contained in:
undefined committed 2021-07-26 22:56:37 +08:00
1 parent 526eaa2603
commit 457d3b4a41
2 files changed
+2 -2

No files matched your search

@@ -56,7 +56,7 @@ async function updateSelection(sendRequest = true) {
url = substitute(decodeURIComponent(UiContext.getProblemUrlWithCategory), {
category: requestTags
.map((tag) => tag.split(',').map(encodeURIComponent).join(','))
.join('+'), // build a beautiful URL
.join(','), // build a beautiful URL
});
}
const q = $('[name="q"]').val();