Change 'tr.task-details' to 'div.task-details'