Show intro only on new install (but not when migrating from WP2)

Intro is marked as shown only when "Skip" or "Done" is explicitly used - this
avoids closing the intro by mistake and never having the option to see it again.

[MAILPOET-1446]
This commit is contained in:
Jan Jakeš
2018-08-04 23:14:53 +02:00
committed by pavel-mailpoet
parent 7ae25ae299
commit fcef5f0d2b
3 changed files with 15 additions and 0 deletions

View File

@@ -305,6 +305,7 @@
<% endblock %>
<% block after_javascript %>
<% if settings.show_intro %>
<script>
if (typeof olark !== 'undefined') {
olark('api.box.onShow', function() {
@@ -318,4 +319,5 @@
});
}
</script>
<% endif %>
<% endblock %>