mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 01:20:12 +01:00
🚨
This commit is contained in:
parent
c86d401911
commit
356a29eb72
4 changed files with 4 additions and 4 deletions
|
|
@ -330,7 +330,7 @@ export class Files extends Model {
|
||||||
});
|
});
|
||||||
this.element.querySelectorAll('[data-type="addLocal"]').forEach(item => {
|
this.element.querySelectorAll('[data-type="addLocal"]').forEach(item => {
|
||||||
item.remove();
|
item.remove();
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (type === "more-file") {
|
if (type === "more-file") {
|
||||||
|
|
|
||||||
|
|
@ -225,7 +225,7 @@ export class MobileFiles extends Model {
|
||||||
});
|
});
|
||||||
this.element.querySelectorAll('[data-type="addLocal"]').forEach(item => {
|
this.element.querySelectorAll('[data-type="addLocal"]').forEach(item => {
|
||||||
item.remove();
|
item.remove();
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (type === "more-file") {
|
if (type === "more-file") {
|
||||||
|
|
|
||||||
|
|
@ -62,7 +62,7 @@ export const exportImage = (id: string) => {
|
||||||
});
|
});
|
||||||
btnsElement[1].addEventListener("click", () => {
|
btnsElement[1].addEventListener("click", () => {
|
||||||
const msgId = showMessage(window.siyuan.languages.exporting, 0);
|
const msgId = showMessage(window.siyuan.languages.exporting, 0);
|
||||||
const containerElement = exportDialog.element.querySelector(".b3-dialog__container") as HTMLElement
|
const containerElement = exportDialog.element.querySelector(".b3-dialog__container") as HTMLElement;
|
||||||
containerElement.style.height = "";
|
containerElement.style.height = "";
|
||||||
/// #if MOBILE
|
/// #if MOBILE
|
||||||
containerElement.style.width = "100vw";
|
containerElement.style.width = "100vw";
|
||||||
|
|
|
||||||
|
|
@ -73,4 +73,4 @@ export const setLocalShorthandCount = () => {
|
||||||
<svg><use xlink:href="#iconRiffCard"></use></svg>
|
<svg><use xlink:href="#iconRiffCard"></use></svg>
|
||||||
</span>`);
|
</span>`);
|
||||||
});
|
});
|
||||||
}
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue