Skip to content

Commit

Permalink
Bring back support for m in scheduler for "next month"
Browse files Browse the repository at this point in the history
  • Loading branch information
mgsloan committed Feb 2, 2025
1 parent 8afff22 commit 8fab805
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/todoist-shortcuts.js
Original file line number Diff line number Diff line change
Expand Up @@ -530,8 +530,13 @@
function scheduleNextMonth() {
withScheduler(
'scheduleNextMonth',
() => {
error('schedule next month no longer supported.');
(scheduler) => {
withUniqueTag(
scheduler,
'button',
matchingAttr('data-track', 'scheduler|date_shortcut_nextmonth'),
click,
);
});
}

Expand Down

0 comments on commit 8fab805

Please sign in to comment.