mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 01:36:24 +01:00
delete confirmation lists notes for deletion in a UL list, #438
This commit is contained in:
@@ -16,7 +16,11 @@ function confirm(message) {
|
||||
|
||||
glob.activeDialog = $dialog;
|
||||
|
||||
$confirmContent.text(message);
|
||||
if (typeof message === 'string') {
|
||||
message = $("<div>").text(message);
|
||||
}
|
||||
|
||||
$confirmContent.empty().append(message);
|
||||
|
||||
$dialog.modal();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user