From 762b006236ef21ce9a5c9248cf6cf35133838a49 Mon Sep 17 00:00:00 2001
From: Felix Yan <felixonmars@archlinux.org>
Date: Sat, 5 Aug 2017 11:51:31 -0500
Subject: [PATCH] Fix two typos in js/piwik.js (#11937)

---
 js/piwik.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/js/piwik.js b/js/piwik.js
index 4f9fbfd77b..e9596d3cdc 100644
--- a/js/piwik.js
+++ b/js/piwik.js
@@ -1198,7 +1198,7 @@ if (typeof window.Piwik !== 'object') {
 
                 var isStaticPluginCall = isString(f) && f.indexOf('::') > 0;
                 if (isStaticPluginCall) {
-                    // a static method will not be called on a tracker and is not dependent on the existance of a
+                    // a static method will not be called on a tracker and is not dependent on the existence of a
                     // tracker etc
                     fParts = f.split('::');
                     context = fParts[0];
@@ -7307,7 +7307,7 @@ if (typeof window.Piwik !== 'object') {
                 }
 
                 if (!siteId && !piwikUrl) {
-                    // for BC and by default we just return the initally created tracker
+                    // for BC and by default we just return the initially created tracker
                     return firstTracker;
                 }
 
-- 
GitLab