[core] Welcome to Hue 4 tour could be also skipped by clicking on the white background
@@ -1541,9 +1541,11 @@ ${ smart_unicode(login_modal(request).content) | n,unicode }
% if is_demo or not user_preferences.get(PREFERENCE_IS_WELCOME_TOUR_SEEN):
$(document).on('keyup', closeTourOnEsc);
+ $(document).on('click', '.shepherd-backdrop', tour.cancel);
tour.start();
% endif
+
tour.on('complete', function () {
$.post('/desktop/api2/user_preferences/${ PREFERENCE_IS_WELCOME_TOUR_SEEN }', {
'set': 'seen'
