diff --git a/jlyasharepro/helper.php b/jlyasharepro/helper.php index 3192e28..e2c5bc9 100644 --- a/jlyasharepro/helper.php +++ b/jlyasharepro/helper.php @@ -30,15 +30,14 @@ public function ShowIn() $scriptPage = <<
HTML; diff --git a/jlyasharepro/jlyasharepro.php b/jlyasharepro/jlyasharepro.php index 2be125e..88bfd5b 100644 --- a/jlyasharepro/jlyasharepro.php +++ b/jlyasharepro/jlyasharepro.php @@ -59,7 +59,7 @@ public function onContentPrepare($context, &$article, &$params, $page = 0) $article->catid = ''; } - JFactory::getDocument()->addScript('//yandex.st/share/share.js'); + JFactory::getDocument()->addScript('//yastatic.net/share2/share.js'); $url = 'http://' . $this->params->get('pathbase', '') . str_replace('www.', '', $_SERVER['HTTP_HOST']); diff --git a/jlyasharepro/jlyasharepro.xml b/jlyasharepro/jlyasharepro.xml index 1b24f5f..f36d531 100644 --- a/jlyasharepro/jlyasharepro.xml +++ b/jlyasharepro/jlyasharepro.xml @@ -40,55 +40,43 @@ > - - - - - + - - + + + + + + + - + + + + - - + + - - - - - - - - - - - - + > + + @@ -104,16 +92,7 @@ - - - - + 1.3.0 https://joomline.ru JoomLine.ru - ]]> + ]]> jlyasharepro yashareproads