chore: skip demo banner if another one present
This commit is contained in:
parent
552bbb1d46
commit
6bf79f18c8
@ -11,7 +11,7 @@ $(document).on("toolbar_setup", function () {
|
|||||||
|
|
||||||
function render_clear_demo_button() {
|
function render_clear_demo_button() {
|
||||||
let wait_for_onboaring_tours = setInterval(() => {
|
let wait_for_onboaring_tours = setInterval(() => {
|
||||||
if ($("#driver-page-overlay").length) {
|
if ($("#driver-page-overlay").length || $("#show-dialog").length) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
setup_clear_demo_button();
|
setup_clear_demo_button();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user