This commit is contained in:
Vanessa 2023-06-01 20:50:49 +08:00
parent fd0893d8d8
commit 6806392b41
57 changed files with 271 additions and 360 deletions

View file

@ -119,7 +119,7 @@ openTab = (options: {
}
}
if (!options.doc.action) {
options.doc.action = []
options.doc.action = [];
}
return openFileById({
app: options.app,

View file

@ -148,7 +148,7 @@ export const afterLoadPlugin = (plugin: Plugin) => {
/// #if !MOBILE
mergePluginHotkey(plugin);
plugin.statusBarIcons.forEach(element => {
const statusElement = document.getElementById("status")
const statusElement = document.getElementById("status");
if (element.getAttribute("data-position") === "right") {
statusElement.insertAdjacentElement("beforeend", element);
} else {