diff --git a/public/harmony.js b/public/harmony.js index e25ff13..0f13437 100644 --- a/public/harmony.js +++ b/public/harmony.js @@ -80,13 +80,6 @@ $(document).ready(function () { drafts.open($(this).attr('data-save-id')); }); - draftsEl.on('click', '[component="drafts/delete-all"]', function () { - const draftItems = drafts.listAvailable(); - draftItems.forEach((item) => { - drafts.removeDraft(item.save_id); - }); - }); - draftsEl.on('click', '[component="drafts/delete"]', function () { drafts.removeDraft($(this).attr('data-save-id')); }); diff --git a/templates/partials/chats/dropdown.tpl b/templates/partials/chats/dropdown.tpl index 4832121..c0fa875 100644 --- a/templates/partials/chats/dropdown.tpl +++ b/templates/partials/chats/dropdown.tpl @@ -20,7 +20,7 @@ {./lastUser.username} {{{ end }}} -
+
{./teaser.content}
{./teaser.timeagoLong}
diff --git a/templates/partials/sidebar-right.tpl b/templates/partials/sidebar-right.tpl index 21bd829..a3d8fe7 100644 --- a/templates/partials/sidebar-right.tpl +++ b/templates/partials/sidebar-right.tpl @@ -1,4 +1,4 @@ -