diff --git a/erpnext/public/js/utils/demo.js b/erpnext/public/js/utils/demo.js index 6cacd5de88..b59c4762e0 100644 --- a/erpnext/public/js/utils/demo.js +++ b/erpnext/public/js/utils/demo.js @@ -52,6 +52,12 @@ function setup_clear_demo_button() { > Clear Demo Data + + + + + + `); @@ -78,4 +84,8 @@ function setup_clear_demo_button() { } ); }); + + $("#dismiss-demo-banner").on("click", function () { + $floatingBar.remove(); + }); }