summaryrefslogtreecommitdiffstats
path: root/web/templates/head.html
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2015-08-19 12:19:02 -0400
committerJoram Wilander <jwawilander@gmail.com>2015-08-19 12:19:02 -0400
commit5f439458059c94054c2e41b7bf21234008830709 (patch)
tree00a46bcf2112cf38f70deeb1acae6c6424f472cc /web/templates/head.html
parentca6bff340d2319ee86828de3591f010a66ffa8f9 (diff)
parent9222e191aab9397b6a7c6713d1b0b0b96b421de7 (diff)
downloadchat-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.html8
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>