fix line-clamp, font fixes

draft changes
This commit is contained in:
Barış Soner Uşaklı 2022-12-07 11:58:19 -05:00
parent 056bd73825
commit 48cb3ab9c0
6 changed files with 21 additions and 32 deletions

View file

@ -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'));
});