From: Scott Worley Date: Wed, 2 Mar 2022 23:40:07 +0000 (-0800) Subject: Revert "When creating a task while viewing a tag, the new task has that tag" X-Git-Url: http://git.scottworley.com/vopamoi/commitdiff_plain/997d8d55032aba314fa674c19ce25463af30c972?ds=sidebyside;hp=cadeba34163d2dbdf4d97b40c4284a5d60b34fe7 Revert "When creating a task while viewing a tag, the new task has that tag" Revert c948f3b419535ad0774392636d2fd1166fb6e312 in spirit. This often isn't the right thing to do. It's especially counter-productive in the while viewing the "Project" tag -- new sub-tasks in projects are not themselves Projects. --- diff --git a/vopamoi.ts b/vopamoi.ts index 695ddef..5f759d0 100644 --- a/vopamoi.ts +++ b/vopamoi.ts @@ -297,9 +297,6 @@ function BrowserUI() { this.firstVisibleTask()?.focus(); } input.value = ""; - if (currentTagView) { - ui.addTag(task.getAttribute("data-created")!, currentTagView); - } if (event.getModifierState("Control")) { this.makeBottomPriority(task); }