mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-26 19:38:48 +01:00
🚨
This commit is contained in:
parent
27c9ac2b25
commit
ec00af7334
3 changed files with 5 additions and 5 deletions
|
|
@ -8,8 +8,8 @@ let yDiff: number;
|
|||
export const handleTouchEnd = () => {
|
||||
if (window.siyuan.mobileEditor) {
|
||||
document.querySelectorAll(".protyle-breadcrumb__bar--hide").forEach(item => {
|
||||
item.classList.remove("protyle-breadcrumb__bar--hide")
|
||||
})
|
||||
item.classList.remove("protyle-breadcrumb__bar--hide");
|
||||
});
|
||||
window.siyuan.hideBreadcrumb = false;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -49,4 +49,4 @@ export const isFileAnnotation = (text: string) => {
|
|||
// REF https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/eval
|
||||
export const looseJsonParse = (text: string) => {
|
||||
return Function(`"use strict";return (${text})`)();
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -86,8 +86,8 @@ export const globalShortcut = () => {
|
|||
window.addEventListener("mousemove", (event) => {
|
||||
if (window.siyuan.hideBreadcrumb) {
|
||||
document.querySelectorAll(".protyle-breadcrumb__bar--hide").forEach(item => {
|
||||
item.classList.remove("protyle-breadcrumb__bar--hide")
|
||||
})
|
||||
item.classList.remove("protyle-breadcrumb__bar--hide");
|
||||
});
|
||||
window.siyuan.hideBreadcrumb = false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue