make share button visivle via theme js. Avoid illegal multiple use of html id

This commit is contained in:
Jonny Tischbein
2018-09-20 17:09:39 +02:00
parent 4c56724715
commit 5edb124660
2 changed files with 3 additions and 1 deletions

View File

@@ -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();