Skip to content

Commit

Permalink
Update tracker.js
Browse files Browse the repository at this point in the history
  • Loading branch information
igortregub authored Mar 27, 2018
1 parent 1566bf0 commit 7a6b85d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion view/frontend/web/js/tracker.js
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ define([
defaultSiteId = options.siteId;
defaultTrackerUrl = options.trackerUrl;
if (piwik === null) {
if (scriptExists(options.scriptUrl)) {
if (!scriptExists(options.scriptUrl)) {
pushAction([
['setSiteId', defaultSiteId],
['setTrackerUrl', defaultTrackerUrl]
Expand Down

0 comments on commit 7a6b85d

Please sign in to comment.