[core] Remove Welcome tour when using embedded mode
@@ -1780,7 +1780,7 @@ ${ smart_unicode(login_modal(request).content) | n,unicode }
}
};
- % if is_demo or not user_preferences.get(PREFERENCE_IS_WELCOME_TOUR_SEEN):
+ % if is_demo or (not user_preferences.get(PREFERENCE_IS_WELCOME_TOUR_SEEN) and not IS_EMBEDDED.get()):
$(document).on('keyup', closeTourOnEsc);
$(document).on('click', '.shepherd-backdrop', tour.cancel);
tour.start();
