Refactoring: moving the draggable code in a common class.

This commit is contained in:
John Livingston
2024-07-30 12:54:05 +02:00
parent eb76e7ebb9
commit fbc9a39485
8 changed files with 260 additions and 181 deletions

View File

@ -16,7 +16,7 @@ export default function tplMucTaskList (el, tasklist) {
// eslint-disable-next-line no-undef
const i18nTaskListName = __(LOC_task_list_name)
return html`
<div class="task-list-line">
<div class="task-list-line draggables-line">
${el.collapsed
? html`
<button @click=${el.toggleTasks} class="task-list-toggle-tasks">