You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by so...@apache.org on 2020/10/03 17:49:41 UTC
[openmeetings] branch master updated: [OPENMEETINGS-2472] JS error
is fixed
This is an automated email from the ASF dual-hosted git repository.
solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git
The following commit(s) were added to refs/heads/master by this push:
new 6b379b7 [OPENMEETINGS-2472] JS error is fixed
6b379b7 is described below
commit 6b379b7c8ab5c81c91b1dfbd0a8957d41b9c5893
Author: Maxim Solodovnik <so...@gmail.com>
AuthorDate: Sun Oct 4 00:49:26 2020 +0700
[OPENMEETINGS-2472] JS error is fixed
---
.../src/main/java/org/apache/openmeetings/web/pages/om-ga.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/openmeetings-web/src/main/java/org/apache/openmeetings/web/pages/om-ga.js b/openmeetings-web/src/main/java/org/apache/openmeetings/web/pages/om-ga.js
index 0752f69..65b4cb3 100644
--- a/openmeetings-web/src/main/java/org/apache/openmeetings/web/pages/om-ga.js
+++ b/openmeetings-web/src/main/java/org/apache/openmeetings/web/pages/om-ga.js
@@ -1,9 +1,9 @@
/* Licensed under the Apache License, Version 2.0 (the "License") http://www.apache.org/licenses/LICENSE-2.0 */
+window.dataLayer = window.dataLayer || [];
+function gtag() {
+ dataLayer.push(arguments);
+}
function initGA(code) {
- window.dataLayer = window.dataLayer || [];
- function gtag() {
- dataLayer.push(arguments);
- }
gtag('js', new Date());
gtag('config', code);