diff --git a/widgets/CookieWidget.php b/widgets/CookieWidget.php index 8817cd5..2f52f7a 100644 --- a/widgets/CookieWidget.php +++ b/widgets/CookieWidget.php @@ -7,7 +7,7 @@ * @github https://github.com/cinghie/yii2-cookie-consent * @license GNU GENERAL PUBLIC LICENSE VERSION 3 * @package yii2-cookie-consent -* @version 1.3.0 +* @version 1.4.0 */ namespace cinghie\cookieconsent\widgets; @@ -30,7 +30,6 @@ public function init(){ parent::init(); // Default Value - if(!$this->message) { $this->message = 'This website uses cookies to ensure you get the best experience on our website.'; } else { @@ -101,4 +100,4 @@ public function run($params = []) ]); } -} +} \ No newline at end of file diff --git a/widgets/views/cookieWidget.php b/widgets/views/cookieWidget.php index 6006da9..b320d1c 100644 --- a/widgets/views/cookieWidget.php +++ b/widgets/views/cookieWidget.php @@ -7,7 +7,7 @@ * @github https://github.com/cinghie/yii2-cookie-consent * @license GNU GENERAL PUBLIC LICENSE VERSION 3 * @package yii2-cookie-consent -* @version 1.3.0 +* @version 1.4.0 */ use cinghie\cookieconsent\assets\CookieAsset; @@ -24,5 +24,3 @@ $codeJS .= " expiryDays: {$expiryDays} };"; $this->registerJs($codeJS); - -?> \ No newline at end of file