akashacms-base
Advanced tools
Comparing version 0.6.5 to 0.6.6
11
index.js
@@ -326,3 +326,7 @@ /** | ||
var imgz = []; | ||
$(selector).each(function(i, elem) { imgz.push(elem); }); | ||
$(selector).each(function(i, elem) { | ||
if ($(elem).hasClass('opengraph-promote') | ||
|| !($(elem).hasClass('opengraph-no-promote'))) | ||
imgz.push(elem); | ||
}); | ||
// Look for <meta-og-image> tags | ||
@@ -372,6 +376,3 @@ var selector = $link.attr('root') | ||
if (imgcount > 0) { | ||
// console.log(`${metadata.rendered_url} removing open-graph-promote-images ${imgcount}`); | ||
$link.remove(); | ||
} | ||
$link.remove(); | ||
}); | ||
@@ -378,0 +379,0 @@ } |
@@ -29,3 +29,3 @@ { | ||
}, | ||
"version": "0.6.5", | ||
"version": "0.6.6", | ||
"engines": { | ||
@@ -32,0 +32,0 @@ "node": ">=6.1" |
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
427
76259