Support wildcards in the title search
This commit is contained in:
+2
-2
@@ -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;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user