chore: skip demo banner if another one present

This commit is contained in:
Ankush Menat 2023-08-17 12:37:29 +05:30
parent 552bbb1d46
commit 6bf79f18c8

View File

@ -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();