diff --git a/src/content/ticktick.js b/src/content/ticktick.js index 50aa48e47..805f6af50 100644 --- a/src/content/ticktick.js +++ b/src/content/ticktick.js @@ -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() : ''; }