mirror of
https://github.com/discourse/discourse-adplugin.git
synced 2025-07-08 06:12:11 +00:00
Working ads however, on change url dfp plain ad not displaying
This commit is contained in:
parent
a67e02368e
commit
d272a71b08
BIN
assets/.DS_Store
vendored
Normal file
BIN
assets/.DS_Store
vendored
Normal file
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…
x
Reference in New Issue
Block a user