From c566f0c71da5dbda9443c8eec55813cc49934350 Mon Sep 17 00:00:00 2001 From: Sarah Ni Date: Thu, 20 Aug 2015 10:07:51 +1000 Subject: [PATCH] Mobile slots now within htmlSafe --- .../templates/components/google-dfp-ad.hbs | 33 +++++++++---------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/assets/javascripts/discourse/templates/components/google-dfp-ad.hbs b/assets/javascripts/discourse/templates/components/google-dfp-ad.hbs index c7e7993..486c4b0 100755 --- a/assets/javascripts/discourse/templates/components/google-dfp-ad.hbs +++ b/assets/javascripts/discourse/templates/components/google-dfp-ad.hbs @@ -1,21 +1,20 @@

Google Ad Plugin Display

-{{#if site.mobileView}} - -
- {{#if loadedGoogletag}} - +{{#if site.mobileView}} + {{#if loadedGoogletag}} +
+ +
+ {{/if}} {{else}} - -
- {{#if loadedGoogletag}} - - -{{/if}} - -
\ No newline at end of file + {{#if loadedGoogletag}} +
+ +
+ {{/if}} +{{/if}} \ No newline at end of file