Add class on read more links and separator

This commit is contained in:
Amauri CHAMPEAUX 2021-04-11 10:59:04 +02:00
parent 36c3ee0e4f
commit f4450c5a73
1 changed files with 3 additions and 3 deletions

View File

@ -764,11 +764,11 @@ var tarteaucitron = {
if (tarteaucitron.parameters.readmoreLink !== undefined && tarteaucitron.parameters.readmoreLink !== '') { if (tarteaucitron.parameters.readmoreLink !== undefined && tarteaucitron.parameters.readmoreLink !== '') {
link = tarteaucitron.parameters.readmoreLink; link = tarteaucitron.parameters.readmoreLink;
} }
html += ' <a href="' + link + '" target="_blank" rel="noreferrer noopener nofollow" title="'+ tarteaucitron.lang.cookieDetail + ' ' + service.name + ' ' + tarteaucitron.lang.ourSite + ' ' + tarteaucitron.lang.newWindow +'">'; html += ' <a href="' + link + '" target="_blank" rel="noreferrer noopener nofollow" title="'+ tarteaucitron.lang.cookieDetail + ' ' + service.name + ' ' + tarteaucitron.lang.ourSite + ' ' + tarteaucitron.lang.newWindow +'" class="tarteaucitronReadmoreInfo">';
html += ' ' + tarteaucitron.lang.more; html += ' ' + tarteaucitron.lang.more;
html += ' </a>'; html += ' </a>';
html += ' - '; html += ' <span class="tarteaucitronReadmoreSeparator"> - </span>';
html += ' <a href="' + service.uri + '" target="_blank" rel="noreferrer noopener" title="' + service.name + ' ' + tarteaucitron.lang.newWindow + '">'; html += ' <a href="' + service.uri + '" target="_blank" rel="noreferrer noopener" title="' + service.name + ' ' + tarteaucitron.lang.newWindow + '" class="tarteaucitronReadmoreOfficial">';
html += ' ' + tarteaucitron.lang.source; html += ' ' + tarteaucitron.lang.source;
html += ' </a>'; html += ' </a>';
} }