mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🚨
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user