From 07ee100ba59ffecf7636527c7504f13f64511d95 Mon Sep 17 00:00:00 2001 From: Jon Ziebell Date: Wed, 15 Jan 2020 18:15:38 -0500 Subject: [PATCH] Added help link to footer. --- js/component/card/footer.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/js/component/card/footer.js b/js/component/card/footer.js index a54e67b..696b3ec 100644 --- a/js/component/card/footer.js +++ b/js/component/card/footer.js @@ -18,6 +18,13 @@ beestat.component.card.footer.prototype.decorate_contents_ = function(parent) { var footer_links = $.createElement('div'); footer.appendChild(footer_links); + footer_links.appendChild( + $.createElement('a') + .setAttribute('href', 'https://doc.beestat.io/') + .innerHTML('Help') + ); + footer_links.appendChild($.createElement('span').innerHTML(' • ')); + footer_links.appendChild( $.createElement('a') .setAttribute('href', 'mailto:contact@beestat.io') @@ -27,7 +34,7 @@ beestat.component.card.footer.prototype.decorate_contents_ = function(parent) { footer_links.appendChild( $.createElement('a') - .setAttribute('href', '/privacy/') + .setAttribute('href', 'https://beestat.io/privacy/') .setAttribute('target', '_blank') .innerHTML('Privacy') ); @@ -43,7 +50,7 @@ beestat.component.card.footer.prototype.decorate_contents_ = function(parent) { footer_links.appendChild( $.createElement('a') - .setAttribute('href', 'https://github.com/beestat/app/issues') + .setAttribute('href', 'https://github.com/beestat/app/issues/') .setAttribute('target', '_blank') .innerHTML('Report Issue') );