mirror of
https://github.com/discourse/discourse-adplugin.git
synced 2025-07-07 22:02:11 +00:00
Removed console log and dfp code working without adsense - conflict when together
This commit is contained in:
parent
d179ed4fe9
commit
a67e02368e
@ -45,7 +45,6 @@ function loadGoogle(settings) {
|
||||
else {
|
||||
googletag.defineSlot('/' + settings.dfp_publisher_id + '/' + settings.dfp_topic_list_top_code, [parseInt(splitWidthInt(settings.topic_list_top_ad_sizes)), parseInt(splitHeightInt(settings.topic_list_top_ad_sizes))], 'div-gpt-ad-topic-list-top').addService(googletag.pubads());
|
||||
}
|
||||
console.log('working');
|
||||
}
|
||||
if (settings.dfp_topic_above_post_stream_code && !settings.dfp_show_topic_above_post_stream && settings.topic_above_post_stream_ad_sizes) {
|
||||
const_width = parseInt(splitWidthInt(settings.topic_above_post_stream_ad_sizes));
|
||||
|
Loading…
x
Reference in New Issue
Block a user