From: Jonny Tischbein Date: Thu, 20 Sep 2018 15:09:39 +0000 (+0200) Subject: make share button visivle via theme js. Avoid illegal multiple use of html id X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5edb1246602be412b43ae1409f59ef63cd1f0b31;p=friendica.git make share button visivle via theme js. Avoid illegal multiple use of html id --- diff --git a/view/theme/frio/js/modal.js b/view/theme/frio/js/modal.js index 2b3059eaf1..3f96eeca7d 100644 --- a/view/theme/frio/js/modal.js +++ b/view/theme/frio/js/modal.js @@ -332,6 +332,8 @@ function toggleJotNav (elm) { // For some some tab panels we need to execute other js functions. if (tabpanel === "jot-preview-content") { preview_post(); + // Make Share button visivle in preview + $('#jot-preview-share').removeClass("minimize").attr("aria-hidden" ,"false"); } else if (tabpanel === "jot-fbrowser-wrapper") { $(function() { Dialog.showJot(); diff --git a/view/theme/frio/templates/jot.tpl b/view/theme/frio/templates/jot.tpl index 7a4854ce44..0430eef646 100644 --- a/view/theme/frio/templates/jot.tpl +++ b/view/theme/frio/templates/jot.tpl @@ -120,7 +120,7 @@ -