Skip to content

Commit

Permalink
fix(ticktick): Fix TickTick adding extra xxxx at the start of the des…
Browse files Browse the repository at this point in the history
…cription (#2332)

Closes #2312
  • Loading branch information
pkvach authored Sep 23, 2024
1 parent 362be1f commit 6b17085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/ticktick.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ togglbutton.render('#task-detail-view:not(.toggl)', { observe: true }, function
}

function getDescription () {
const descriptionEl = elem.querySelector('.task-title');
const descriptionEl = elem.querySelector('.task-title .CodeMirror-code');
return descriptionEl ? descriptionEl.textContent.trim() : '';
}

Expand Down

0 comments on commit 6b17085

Please sign in to comment.