From 89c8935e49926d5d3293c6690a0c00dff8f9ad2c Mon Sep 17 00:00:00 2001 From: Elisa Foltyn Date: Sat, 9 Mar 2019 14:35:44 +0100 Subject: [PATCH] Update default.php Remove Bug when Content is empty --- mod_ccctwoclick/tmpl/default.php | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/mod_ccctwoclick/tmpl/default.php b/mod_ccctwoclick/tmpl/default.php index b4511ed..f859794 100644 --- a/mod_ccctwoclick/tmpl/default.php +++ b/mod_ccctwoclick/tmpl/default.php @@ -2,14 +2,10 @@ // No direct access defined('_JEXEC') or die; -if ($contentBefore != '' || !empty($contentBefore)) : $contentBefore = '
' . $contentBefore .'
'; $contentBeforeCenter = '
' . $contentBefore .'
'; -endif; -if ($contentAfter != '' || !empty($contentAfter)) : $contentAfter = ''; -endif; $btnReveal = '' . JText::_($btntxtReveal) .''; $btnRevealCenter = '' . JText::_($btntxtReveal) .''; @@ -53,9 +49,9 @@ function enableContent() { iframe.setAttribute('allowfullscreen', 'true'); iframe.setAttribute('allowtransparency', 'true'); iframe.setAttribute('scrolling', 'no'); - iframe.setAttribute('title', 'fb:page Facebook Social Plugin'); + iframe.setAttribute('title', ''); - iframe.setAttribute('name', 'f2f966e5973af'); + iframe.setAttribute('name', ''); iframe.setAttribute('width', content[0].dataset.width); iframe.setAttribute('height', content[0].dataset.height); @@ -151,5 +147,3 @@ class="ccctc ccctwoclick-" ?> - -