Skip to content

Commit

Permalink
fix: Add namespace: html when creating button element.
Browse files Browse the repository at this point in the history
  • Loading branch information
l0o0 committed Feb 10, 2025
1 parent 1edb960 commit 02ae1c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/modules/progress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ export class Progress {
id: `search-results-container-${task.id}`,
children: [
{
namespace: "html",
tag: "button",
classList: ["confirm-button"],
properties: {
innerText: "确认",
namespace: "html",
},
attributes: { "data-task-id": task.id },
},
Expand Down Expand Up @@ -152,6 +152,7 @@ export class Progress {
properties: { style: "display: none;" },
children: [
{
namespace: "html",
tag: "button",
classList: ["confirm-button"],
properties: { innerText: "确认" },
Expand Down

0 comments on commit 02ae1c3

Please sign in to comment.