From 503cc32434b9219b49ef150c6e447645d84cfd51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Romain?= Date: Wed, 14 Sep 2016 01:20:37 +0200 Subject: [PATCH] Remove jQuery jQuery(document).ready(function(){ is not needed because the code is loaded at the end of the page. (and this makes an error in the page when jquery is not available in the window, which is my case) Thanks --- ganalytics.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/ganalytics.php b/ganalytics.php index 36d71ea..91ed8ef 100755 --- a/ganalytics.php +++ b/ganalytics.php @@ -649,11 +649,9 @@ protected function _runJs($js_code, $backoffice = 0) if (!empty($js_code)) $runjs_code .= ' '; if (($this->js_state) != 1 && ($backoffice == 0))