Show the poll on standard listings only

[MAILPOET-1539]
This commit is contained in:
Pavel Dohnal
2018-09-27 13:28:30 +02:00
parent 94efc67658
commit 281e3c7eaa

View File

@@ -5,7 +5,7 @@
<script type="text/javascript">
var mailpoet_listing_per_page = <%= items_per_page %>;
var display_nps_poll = true;
var display_nps_poll = location.hash === '#/standard';
var mailpoet_listing_per_page = <%= items_per_page %>;
var mailpoet_segments = <%= json_encode(segments) %>;
var mailpoet_settings = <%= json_encode(settings) %>;