Working ads however, on change url dfp plain ad not displaying

This commit is contained in:
vi 2015-08-25 15:53:22 +10:00
parent a67e02368e
commit d272a71b08
4 changed files with 3 additions and 2 deletions

BIN
.DS_Store vendored

Binary file not shown.

BIN
assets/.DS_Store vendored Normal file

Binary file not shown.

View File

@ -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();

View File

@ -1,4 +1,3 @@
{{#if siteSettings.dfp_topic_list_top_code}}
{{google-dfp-ad placement="topic-list-top"}}
{{/if}}
{{/if}}