From 3ed9fff3de6f044c96b4903af31f9a83a2e985f5 Mon Sep 17 00:00:00 2001 From: Giandomenico Olini Date: Fri, 5 Oct 2018 11:15:41 +0200 Subject: [PATCH] Update cookieWidget.php --- widgets/views/cookieWidget.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/widgets/views/cookieWidget.php b/widgets/views/cookieWidget.php index cddc848..f875fac 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.4.5 +* @version 1.4.6 */ use cinghie\cookieconsent\assets\CookieAsset; @@ -25,4 +25,4 @@ $codeJS .= " expiryDays: {$expiryDays} };"; -$this->registerJs($codeJS); +$this->registerJs($codeJS, \yii\web\View::POS_END);