diff options
author | Joram Wilander <jwawilander@gmail.com> | 2015-08-19 12:19:02 -0400 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2015-08-19 12:19:02 -0400 |
commit | 5f439458059c94054c2e41b7bf21234008830709 (patch) | |
tree | 00a46bcf2112cf38f70deeb1acae6c6424f472cc /web/templates/head.html | |
parent | ca6bff340d2319ee86828de3591f010a66ffa8f9 (diff) | |
parent | 9222e191aab9397b6a7c6713d1b0b0b96b421de7 (diff) | |
download | chat-5f439458059c94054c2e41b7bf21234008830709.tar.gz chat-5f439458059c94054c2e41b7bf21234008830709.tar.bz2 chat-5f439458059c94054c2e41b7bf21234008830709.zip |
Merge pull request #394 from mattermost/mm-1410
MM-1410 Initial implementaiton of import from Slack
Diffstat (limited to 'web/templates/head.html')
-rw-r--r-- | web/templates/head.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/web/templates/head.html b/web/templates/head.html index dd5e9f46e..5448b09ed 100644 --- a/web/templates/head.html +++ b/web/templates/head.html @@ -56,11 +56,11 @@ <script> if (config.LogglyWriteKey != null && config.LogglyWriteKey !== "") { - var _LTracker = _LTracker || []; - window._LTracker = _LTracker; - _LTracker.push({'logglyKey': config.LogglyWriteKey, 'sendConsoleErrors' : config.LogglyConsoleErrors }); + var LTracker = LTracker || []; + window.LTracker = LTracker; + LTracker.push({'logglyKey': config.LogglyWriteKey, 'sendConsoleErrors' : config.LogglyConsoleErrors }); } else { - window._LTracker = []; + window.LTracker = []; console.warn("config.js missing LogglyWriteKey, Loggly analytics is not reporting"); } </script> |