Skip to content
Snippets Groups Projects
Commit c99a7299 authored by Maximilian Giller's avatar Maximilian Giller :squid:
Browse files

Adjusted confirm text

parent d32f159c
No related branches found
No related tags found
No related merge requests found
Pipeline #52786 passed
......@@ -48,7 +48,7 @@ export default class DeleteTool extends Tool {
var nodeNames = selectedNodes.map((n) => n[Graph.NODE_LABEL]);
//! Problem: If browser is not actually showing the alerts, it always returns false!
var shouldDelete = confirm(
"Do you wanna delete all these nodes:\n\n" + nodeNames.join("\n")
"Are you sure you want to delete all these nodes?\n\n" + nodeNames.join("\n")
);
// Delete if confirmed
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment