diff --git a/erpnext/public/js/utils/demo.js b/erpnext/public/js/utils/demo.js index b59c4762e0..3ebc5efcf1 100644 --- a/erpnext/public/js/utils/demo.js +++ b/erpnext/public/js/utils/demo.js @@ -11,7 +11,7 @@ $(document).on("toolbar_setup", function () { function render_clear_demo_button() { let wait_for_onboaring_tours = setInterval(() => { - if ($("#driver-page-overlay").length) { + if ($("#driver-page-overlay").length || $("#show-dialog").length) { return; } setup_clear_demo_button();