Skip to content

Commit

Permalink
Merge pull request #62 from mizunashi-mana/mybetterListItem
Browse files Browse the repository at this point in the history
Change that items of TodoList are not clickable.
  • Loading branch information
einhirn committed Feb 6, 2020
2 parents a00026e + 88bcff5 commit 84aeaf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntax/todo.php
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ protected function createTodoItem($renderer, $id, $data) {
}

$spanclass = 'todotext';
if($this->getConf("CheckboxText") && !$this->getConf("AllowLinks") && $data['checkbox']) {
if($this->getConf("CheckboxText") && !$this->getConf("AllowLinks") && $oldID == $ID && $data['checkbox']) {
$spanclass .= ' clickabletodo todohlght';
}
if(isset($bg)) $spanclass .= ' '.$bg;
Expand Down

0 comments on commit 84aeaf8

Please sign in to comment.