gtfds
This commit is contained in:
@@ -4368,7 +4368,7 @@ window.cancelAnimFrame = (function () {
|
|||||||
suggestions.style.display = 'none';
|
suggestions.style.display = 'none';
|
||||||
highlightIdx = -1;
|
highlightIdx = -1;
|
||||||
toggleSearch(false);
|
toggleSearch(false);
|
||||||
const target = `/tag/${encodeURIComponent('title:' + s.title)}/`;
|
const target = `/tag/title:${encodeURIComponent(s.title)}/`;
|
||||||
if (typeof loadPageAjax === 'function') {
|
if (typeof loadPageAjax === 'function') {
|
||||||
loadPageAjax(target, true);
|
loadPageAjax(target, true);
|
||||||
} else {
|
} else {
|
||||||
@@ -4549,7 +4549,7 @@ window.cancelAnimFrame = (function () {
|
|||||||
suggestions.style.display = 'none';
|
suggestions.style.display = 'none';
|
||||||
highlightIdx = -1;
|
highlightIdx = -1;
|
||||||
toggleSearch(false);
|
toggleSearch(false);
|
||||||
const target = `/tag/${encodeURIComponent('title:' + el.dataset.title)}/`;
|
const target = `/tag/title:${encodeURIComponent(el.dataset.title)}/`;
|
||||||
if (typeof loadPageAjax === 'function') {
|
if (typeof loadPageAjax === 'function') {
|
||||||
loadPageAjax(target, true);
|
loadPageAjax(target, true);
|
||||||
} else {
|
} else {
|
||||||
@@ -4580,7 +4580,7 @@ window.cancelAnimFrame = (function () {
|
|||||||
if (tagItems.length === 0 && titleItems.length > 0) {
|
if (tagItems.length === 0 && titleItems.length > 0) {
|
||||||
toggleSearch(false);
|
toggleSearch(false);
|
||||||
const q = input.value.trim();
|
const q = input.value.trim();
|
||||||
const target = `/tag/${encodeURIComponent('title:' + q)}/`;
|
const target = `/tag/title:${encodeURIComponent(q)}/`;
|
||||||
if (typeof loadPageAjax === 'function') {
|
if (typeof loadPageAjax === 'function') {
|
||||||
loadPageAjax(target, true);
|
loadPageAjax(target, true);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -305,7 +305,7 @@ export default {
|
|||||||
|
|
||||||
// Override link for title searches — pagination must use the /tag/title:... prefix
|
// Override link for title searches — pagination must use the /tag/title:... prefix
|
||||||
if (isTitleSearch && titleQuery) {
|
if (isTitleSearch && titleQuery) {
|
||||||
link.main = `/tag/${encodeURIComponent('title:' + titleQuery)}/`;
|
link.main = `/tag/title:${encodeURIComponent(titleQuery)}/`;
|
||||||
link.path = 'p/';
|
link.path = 'p/';
|
||||||
link.suffix = '';
|
link.suffix = '';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user