diff --git a/static/brush-box.js b/static/brush-box.js index 170e34c..1c2bc92 100644 --- a/static/brush-box.js +++ b/static/brush-box.js @@ -178,13 +178,17 @@ export class BrushBox extends HTMLElement { confirmation.addHtmlP( "Your brush has unsaved changes." + - "
Loading another brush will discard them." + + "
Switching to another brush will discard them." + "
Are you sure?", ); confirmation.addSeparator(); - confirmation.addButton("Yes").addEventListener("click", () => { - this.#sendBrushChange(preset); - }); + confirmation + .addButton("Discard changes and switch brush", { + classList: ["destructive"], + }) + .addEventListener("click", () => { + this.#sendBrushChange(preset); + }); confirmation.addHtmlP("Click anywhere else to cancel", { classList: ["small"], });