From 6d59d8b624e493166a706ad9dd53ff9008c28ab0 Mon Sep 17 00:00:00 2001 From: Pooby Malom Date: Fri, 25 Nov 2022 23:53:05 -0500 Subject: [PATCH] fixed snackbar undo bug --- public/js/snackbar.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/js/snackbar.js b/public/js/snackbar.js index a18d362d..8b38b392 100644 --- a/public/js/snackbar.js +++ b/public/js/snackbar.js @@ -123,6 +123,7 @@ class Snackbar { buttonNode.addEventListener("click", event => { this.buttonClick(); destroyFromButton(); + this.destroy(); //stops propogation so the body event isn't called event.stopPropagation(); })