mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-23 00:36:10 +01:00
🎨 搜索历史过长
This commit is contained in:
parent
bfc3648e87
commit
1212c2cd57
2 changed files with 3 additions and 0 deletions
|
|
@ -240,6 +240,7 @@ export const toggleAssetHistory = (assetElement: Element) => {
|
|||
if (menu.isOpen) {
|
||||
return;
|
||||
}
|
||||
menu.element.classList.add("b3-menu--list");
|
||||
menu.addItem({
|
||||
iconHTML: "",
|
||||
label: window.siyuan.languages.clearHistory,
|
||||
|
|
|
|||
|
|
@ -50,6 +50,7 @@ export const toggleReplaceHistory = (searchElement: Element) => {
|
|||
if (menu.isOpen) {
|
||||
return;
|
||||
}
|
||||
menu.element.classList.add("b3-menu--list");
|
||||
menu.addItem({
|
||||
iconHTML: "",
|
||||
label: window.siyuan.languages.clearHistory,
|
||||
|
|
@ -117,6 +118,7 @@ export const toggleSearchHistory = (searchElement: Element, config: ISearchOptio
|
|||
if (menu.isOpen) {
|
||||
return;
|
||||
}
|
||||
menu.element.classList.add("b3-menu--list");
|
||||
menu.addItem({
|
||||
iconHTML: "",
|
||||
label: window.siyuan.languages.clearHistory,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue