Compare commits

...

1 Commits

Author SHA1 Message Date
Rachel Roppolo
20e870fcf2 Include check for 'later' cookie within start method of tour 2020-01-03 13:09:28 -08:00

View File

@ -51,8 +51,14 @@
});
<% end %>
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 %>' })) {
tour.start();
if (!Cookies.get('<%= abraham_cookie_prefix %>-<%= tour_name %>', {domain: '<%= abraham_domain %>'})) {
start();
}
}
}(tour.start)
tour.start()
</script>