From a23386cd17d436c9858cd7b8718de8a0fa492b00 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Mon, 4 Jun 2018 16:52:43 -0400 Subject: [PATCH] FIX: DFP ad units not refreshed when navigating between topic lists --- .../discovery-list-container-top/discourse-adplugin.hbs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/javascripts/discourse/templates/connectors/discovery-list-container-top/discourse-adplugin.hbs b/assets/javascripts/discourse/templates/connectors/discovery-list-container-top/discourse-adplugin.hbs index a4217b1..af418d9 100644 --- a/assets/javascripts/discourse/templates/connectors/discovery-list-container-top/discourse-adplugin.hbs +++ b/assets/javascripts/discourse/templates/connectors/discovery-list-container-top/discourse-adplugin.hbs @@ -3,7 +3,7 @@ {{google-adsense placement="topic-list-top" listLoading=listLoading}} {{/if}} {{#if siteSettings.dfp_mobile_topic_list_top_code}} - {{google-dfp-ad placement="topic-list-top" refreshOnChange=loading category=category.slug listLoading=listLoading}} + {{google-dfp-ad placement="topic-list-top" refreshOnChange=listLoading category=category.slug listLoading=listLoading}} {{/if}} {{#if siteSettings.amazon_mobile_topic_list_top_src_code}} {{amazon-product-links placement="topic-list-top" listLoading=listLoading}} @@ -13,7 +13,7 @@ {{google-adsense placement="topic-list-top" listLoading=listLoading}} {{/if}} {{#if siteSettings.dfp_topic_list_top_code}} - {{google-dfp-ad placement="topic-list-top" refreshOnChange=loading category=category.slug listLoading=listLoading}} + {{google-dfp-ad placement="topic-list-top" refreshOnChange=listLoading category=category.slug listLoading=listLoading}} {{/if}} {{#if siteSettings.amazon_topic_list_top_src_code}} {{amazon-product-links placement="topic-list-top" listLoading=listLoading}}