From 1c57c7b20d51619521751de85a55245ec2384a00 Mon Sep 17 00:00:00 2001 From: "Asuka.Ochi" Date: Wed, 15 Sep 2021 16:30:04 +0100 Subject: [PATCH] Add new rule for icon insertion This rule is used for beta homepage(next-discovery-pages) --- src/js/iconify.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/js/iconify.js b/src/js/iconify.js index 708ec52..9a74df6 100644 --- a/src/js/iconify.js +++ b/src/js/iconify.js @@ -21,7 +21,8 @@ const SYNDICATION_INSERTION_RULES = { 'article.article-grid': {fn: 'querySelector', slc: '.o-topper__headline', up: 1}, 'div.hero': {fn: 'querySelector', slc: '.hero__heading'}, 'main.video': {fn: 'querySelector', slc: '.video__title'}, - 'li.o-teaser__related-item': {} + 'li.o-teaser__related-item': {}, + '.js-teaser-headline': {} }; let USER_DATA;