Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zzlb0224 committed Apr 8, 2024
1 parent 2a67a1f commit 6ee609e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/modules/annotationsToNote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ async function createChooseAnnDiv(doc: Document, isCollection: boolean) {
exportNote({ filter: () => ans, toText: toText1 });
div?.remove();
},
[{ tag: "div", properties: { textContent: "aaaa" } }],
[{ tag: "div", properties: { textContent: "可用正则表达式" } }],
);
if (div) {
ztoolkit.UI.appendElement(actionTag!, div.querySelector(".action")!);
Expand Down Expand Up @@ -588,7 +588,7 @@ async function createChooseTagsDiv(doc: Document, isCollection: boolean) {
div?.remove();
}
},
[{ tag: "div", properties: { textContent: "bbbb" } }],
[{ tag: "div", properties: { textContent: "可用正则表达式" } }],
);
ztoolkit.UI.appendElement(actionTag!, div!.querySelector(".action")!);
ztoolkit.UI.appendElement(tagsTag!, div!.querySelector(".content")!);
Expand Down Expand Up @@ -761,7 +761,7 @@ function createActionTag(
}
function createTopDiv(doc?: Document) {
if (!doc) return;
doc.getElementById(ID.root + "topdiv")?.remove();
doc.getElementById(ID.root + "TopDiv")?.remove();

const children: TagElementProps[] = [
{ tag: "div", properties: { textContent: "" }, classList: ["action"] },
Expand All @@ -772,7 +772,7 @@ function createTopDiv(doc?: Document) {
return ztoolkit.UI.appendElement(
{
tag: "div",
id: ID.root + "topdiv",
id: ID.root + "TopDiv",
styles: {
padding: "10px",
position: "fixed",
Expand Down

0 comments on commit 6ee609e

Please sign in to comment.