Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

563 Updated converter for opco home page #565

Merged
merged 9 commits into from
Dec 8, 2023
Prev Previous commit
Next Next commit
lint issue fixed
  • Loading branch information
rgravitvl committed Dec 7, 2023
commit 9252cd21b290197714ad699821d72c6dc7a93cde
2 changes: 1 addition & 1 deletion tools/importer/transformers/util.js
Original file line number Diff line number Diff line change
@@ -87,7 +87,7 @@ export const featureImage = (featureImg, document) => {
if (featureImageEL?.getAttribute('btnhref')) {
const anc = document.createElement('a');
anc.href = featureImageEL?.getAttribute('btnhref');
if(featureImageEL?.getAttribute('asLink')) anc.title = 'link';
if (featureImageEL?.getAttribute('asLink')) anc.title = 'link';
anc.textContent = featureImageEL?.getAttribute('btntext');
featureImg.append(anc);
}