Support wildcards in the title search

This commit is contained in:
Fisto
2026-09-17 13:43:27 +02:00
parent 0fb93c4830
commit 8befc05591
8 changed files with 91 additions and 15 deletions
+2 -2
View File
@@ -1400,7 +1400,7 @@
const input = document.createElement("input");
input.type = "text";
input.className = "vk-media-input";
input.placeholder = "Video title (Ma Ca Ju finds Man ... car jumps)";
input.placeholder = "Video title (Ma Ca Ju; *car, c*r* wildcards)";
input.value = draft.title;
input.addEventListener("input", () => {
draft.title = input.value;
@@ -1411,7 +1411,7 @@
const box = document.createElement("input");
box.type = "checkbox";
box.checked = draft.titleExact;
box.title = "Match the whole phrase instead of per-word prefixes";
box.title = "Match the whole phrase instead of per-word prefixes; * still works as a wildcard";
box.addEventListener("change", () => {
draft.titleExact = box.checked;
});