nodebb-plugin-adsense
Advanced tools
Comparing version 0.0.18 to 0.0.19
{ | ||
"name": "nodebb-plugin-adsense", | ||
"version": "0.0.18", | ||
"version": "0.0.19", | ||
"description": "Plugin to easily place ads on your forum in different areas", | ||
@@ -22,3 +22,3 @@ "main": "library.js", | ||
"nbbpm": { | ||
"compatibility": "^0.7.0 || ^0.8.0 || ^0.9.0" | ||
"compatibility": "^0.7.0 || ^0.8.0 || ^0.9.0 || ^1.0.0" | ||
}, | ||
@@ -25,0 +25,0 @@ "readmeFilename": "README.md", |
@@ -9,3 +9,3 @@ var loaded = false; | ||
if(data.header_id && loaded == false){ | ||
$(getInsCode(data.client_id, data.header_id, '', 'margin:15px auto;', 'auto')).insertBefore("#content"); | ||
$("<div class='text-center'>" + getInsCode(data.client_id, data.header_id, '', 'margin:15px auto;', 'auto') + "</div>").insertBefore("#content"); | ||
(adsbygoogle = window.adsbygoogle || []).push({}); | ||
@@ -16,3 +16,3 @@ } | ||
if(data.footer_id && loaded == false){ | ||
$(getInsCode(data.client_id, data.footer_id, '', 'margin:15px auto;', 'auto')).insertAfter("#content"); | ||
$("<div class='text-center'>" + getInsCode(data.client_id, data.footer_id, '', 'margin:15px auto;', 'auto') + "</div>").insertAfter("#content"); | ||
(adsbygoogle = window.adsbygoogle || []).push({}); | ||
@@ -23,3 +23,3 @@ } | ||
if(data.after_first_post_id){ | ||
$(".posts >li:first-child").after("<li style='height:100px;'>" + getInsCode(data.client_id, data.after_first_post_id, '', 'margin: 15px auto', 'auto') + "</li>"); | ||
$(".posts >li:first-child").after("<li>" + getInsCode(data.client_id, data.after_first_post_id, '', 'margin: 15px auto', 'auto') + "</li>"); | ||
(adsbygoogle = window.adsbygoogle || []).push({}); | ||
@@ -26,0 +26,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17719