Skip to content

Commit

Permalink
fix(to-do): Fix project selector for MS To-Do (#2001)
Browse files Browse the repository at this point in the history
closes #1976
  • Loading branch information
Luiz Augusto authored Sep 17, 2021
1 parent 11ea2a8 commit 6c9b288
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scripts/content/microsoft-to-do.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ togglbutton.render('.taskItem-body:not(.toggl)', { observe: true }, function (
) {
const container = createTag('a', 'taskItem-toggl');
const titleElem = $('.taskItem-title', elem);
const projectTitleElem = $('.taskItemInfo-title', elem);
const activeList = $('ul.lists .listItem.active');
const projectTitleElem = $('.listTitle');
const activeList = $('.listItem-container.active');
const activeListTitle = $('.listItem-title', activeList);

const projectTitle = projectTitleElem
Expand Down

0 comments on commit 6c9b288

Please sign in to comment.