ui.removeTag(target.parentElement!.getAttribute("data-created")!, target.textContent!);
},
+ resetView: function () {
+ this.setView("todo");
+ },
+
returnFocusAfterInput: function (): boolean {
if (taskFocusedBeforeJumpingToInput) {
taskFocusedBeforeJumpingToInput.focus();
if (event.key == "d") return browserUI.setView("done");
if (event.key == "q") return browserUI.setView("todo");
if (event.key == "s") return (inputState = InputState.VS);
- if (event.key == "v") return browserUI.setView("todo");
+ if (event.key == "v") return browserUI.resetView();
if (event.key == "w") return browserUI.setView("waiting");
if (event.key == "x") return browserUI.setView("deleted");
} else if (inputState === InputState.VS) {