vault backup: 2024-04-15 11:54:03
This commit is contained in:
@@ -3962,8 +3962,7 @@ function isSearchView(view) {
|
||||
setMatchingCase,
|
||||
setSortOrder,
|
||||
searchInfoEl,
|
||||
searchComponent,
|
||||
headerDom
|
||||
searchComponent
|
||||
} = view;
|
||||
if (typeof matchingCase !== "boolean") {
|
||||
return false;
|
||||
@@ -3983,9 +3982,6 @@ function isSearchView(view) {
|
||||
if (!(searchInfoEl instanceof HTMLDivElement)) {
|
||||
return false;
|
||||
}
|
||||
if (!isSearchHeaderDom(headerDom)) {
|
||||
return false;
|
||||
}
|
||||
if (!(setCollapseAll instanceof Function)) {
|
||||
return false;
|
||||
}
|
||||
@@ -4065,19 +4061,6 @@ function isSearchResultItem(obj) {
|
||||
}
|
||||
return true;
|
||||
}
|
||||
function isSearchHeaderDom(obj) {
|
||||
if (typeof obj !== "object" || obj === null) {
|
||||
return false;
|
||||
}
|
||||
const { navButtonsEl } = obj;
|
||||
if (typeof navButtonsEl !== "object") {
|
||||
return false;
|
||||
}
|
||||
if (!(navButtonsEl instanceof HTMLDivElement)) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
// src/utils/LinkedList.ts
|
||||
var LinkedList = class {
|
||||
|
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"id": "obsidian-core-search-assistant-plugin",
|
||||
"name": "Core Search Assistant",
|
||||
"version": "0.9.1",
|
||||
"minAppVersion": "0.15.6",
|
||||
"version": "0.9.2",
|
||||
"minAppVersion": "1.2.7",
|
||||
"description": "Enhance built-in search: keyboard interface, card preview, bigger preview",
|
||||
"author": "qawatake",
|
||||
"authorUrl": "https://github.com/qawatake/obsidian-core-search-assistant-plugin",
|
||||
|
Reference in New Issue
Block a user