Removed console log and dfp code working without adsense - conflict when together

This commit is contained in:
vi 2015-08-25 14:40:03 +10:00
parent d179ed4fe9
commit a67e02368e

View File

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