mirror of
https://hk.gh-proxy.com/https://github.com/NodeBB/nodebb-theme-harmony.git
synced 2025-10-03 05:01:05 +08:00
fix line-clamp, font fixes
draft changes
This commit is contained in:
parent
056bd73825
commit
48cb3ab9c0
6 changed files with 21 additions and 32 deletions
|
@ -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'));
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue