Merge branch 'master' into develop

This commit is contained in:
Jonathan Abbett 2020-01-07 11:39:31 -05:00
commit c9e0d54628

View File

@ -51,8 +51,14 @@
});
<% end %>
// Don't start the tour if the user dismissed it once this session
if (!Cookies.get('<%= abraham_cookie_prefix %>-<%= tour_name %>', { domain: '<%= abraham_domain %>' })) {
tour.start();
}
tour.start = function (start) {
return function () {
// Don't start the tour if the user dismissed it once this session
if (!Cookies.get('<%= abraham_cookie_prefix %>-<%= tour_name %>', {domain: '<%= abraham_domain %>'})) {
start();
}
}
}(tour.start)
tour.start()
</script>