inline buttons
This commit is contained in:
Vendored
+3
-3
@@ -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
|
||||
Reference in New Issue
Block a user