Skip to content

Commit d764a04

Browse files
committed
Fix SEO issue with show-more button
1 parent f48752f commit d764a04

20 files changed

+28
-28
lines changed

dist/biscuitman-legacy.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! biscuitman-legacy.js 0.5.2 */
1+
/*! biscuitman-legacy.js 0.5.3 */
22
.biscuitman {
33
--ui: 0, 0, 0;
44
--tx: #444;

dist/biscuitman-legacy.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! biscuitman-legacy.js 0.5.2 */
1+
/*! biscuitman-legacy.js 0.5.3 */
22
(function () {
33
'use strict';
44

@@ -663,7 +663,7 @@
663663
function render() {
664664
ui.className = 'biscuitman';
665665
ui.innerHTML = "\n<article>\n\t<b>".concat(o.title, "</b>\n\t<p>").concat(o.message, "</p>\n\t<nav>\n\t\t<button data-id=accept>").concat(o.accept, "</button>\n\t\t<button data-id=settings>").concat(o.settings, "</button>\n\t\t<button data-id=reject>").concat(o.reject, "</button>\n\t</nav>\n</article>\n<dialog>\n\t<div class=bm-dialog>\n\t\t<b>").concat(o.settingsTitle, "</b>\n\t\t<button data-id=close").concat(o.force ? ' disabled' : '', ">\xD7</button>\n\t\t<div class=bm-sections>\n\t\t\t<p><span>").concat(o.message, "</span></p>\n\t\t\t<p>").concat(o.info.split('\n').map(function (line, i, arr) {
666-
return "<span>".concat(line, "</span>\n\t\t\t\t").concat(arr.length > 1 && o.enableMore && i == 0 ? "<a data-id=more href=javascript:void(0)>".concat(o.more, "</a>") : '');
666+
return "<span>".concat(line, "</span>\n\t\t\t\t").concat(arr.length > 1 && o.enableMore && i == 0 ? "<a data-id=more href=# rel=nofollow>".concat(o.more, "</a>") : '');
667667
}).join(''), "\n\t\t\t</p>\n\t\t\t").concat(o.sections.map(function (section) {
668668
var hasConsent = getConsents()[section];
669669
var isEssential = section === 'essential';

dist/biscuitman-legacy.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/biscuitman-legacy.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)