inline buttons

This commit is contained in:
Ian Gulliver
2026-10-16 09:16:40 -07:00
parent c08d993104
commit e8ccdfc8d9
5 changed files with 22 additions and 10 deletions
+3 -3
View File
@@ -47,10 +47,10 @@ function fill(el, model) {
starting.delete(key);
fill(el, model);
};
const startButton = h("button", { disabled: busy, title: "Start a task that gets straight to work" }, busy ? "Starting…" : "Start");
const startButton = h("button", { disabled: busy, title: "Start a task that gets straight to work" }, busy ? "starting…" : "start");
startButton.onclick = () => void start(false);
const discussButton = h("button", { disabled: busy, title: "Start a task that talks it through with you before changing anything" }, "Discuss");
const discussButton = h("button", { disabled: busy, title: "Start a task that talks it through with you before changing anything" }, "discuss");
discussButton.onclick = () => void start(true);
replace(action, startButton, " ", discussButton);
replace(action, startButton, h("span", { class: "todo-sep" }, " · "), discussButton);
}
//# sourceMappingURL=todolink.js.map