Closed dsarman closed 1 year ago
Hello! I love your idea! But there is one issue: I don't think particles should be shown when you uncheck a task
I think we should do smth like this:
if (
target.hasClass("task-list-item-checkbox") &&
(target.getAttribute("data-task") === " " || // task was unchecked
(!target.hasAttribute("data-task") && // task is embedded
!target.hasAttribute("checked"))) // embedded task was unchecked
)
this.taskEffect(evt);
Hi, I added configurable option to show effects on task checkbox click if you would be interested.