Working ads however, on change url dfp plain ad not displaying
This commit is contained in:
parent
a67e02368e
commit
d272a71b08
Binary file not shown.
|
@ -1,4 +1,5 @@
|
|||
import loadScript from 'discourse/lib/load-script';
|
||||
//import PageTracker from 'discourse/lib/page-tracker';
|
||||
|
||||
var const_width = '';
|
||||
var const_height = '';
|
||||
|
@ -16,6 +17,7 @@ function splitHeightInt(value) {
|
|||
return str.trim();
|
||||
}
|
||||
|
||||
//PageTracker.current().on('change', function(url) {
|
||||
function loadGoogle(settings) {
|
||||
if (_loaded) {
|
||||
return Ember.RSVP.resolve();
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
{{#if siteSettings.dfp_topic_list_top_code}}
|
||||
{{google-dfp-ad placement="topic-list-top"}}
|
||||
{{/if}}
|
||||
|
||||
{{/if}}
|
Loading…
Reference in New Issue