G’day all,
I just noticed some inconsistent behaviour (maybe inconsistent by design?) with the delete tiddler button:
- for a tiddler in edit mode, clicking the delete button prompts with a confirmation “Do you wish to delete …”, which gives the opportunity to cancel if the button was clicked by mistake
- for a tiddler in view mode, clicking the delete button does not prompt with any confirmation at all, immediately deleting (so not opportunity to cancel a possible mistake.)
I find that inconsistency annoying. I’d like to fix that in my TiddlyWikis, but I’m not sure how to go about it. Looking at the $:/core/ui/Buttons/delete hasn’t given me any clues.
Could somebody point me in the right direction to setup consistent behaviour upon pressing the delete button?