diff options
Diffstat (limited to 'theme/javascript/utils')
-rw-r--r-- | theme/javascript/utils/analytic.js | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | theme/javascript/utils/execute.js | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | theme/javascript/utils/platform.js | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | theme/javascript/utils/sharing.js | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | theme/javascript/utils/storage.js | 0 |
5 files changed, 2 insertions, 2 deletions
diff --git a/theme/javascript/utils/analytic.js b/theme/javascript/utils/analytic.js index 1d6fcd6..6c6155a 100644 --- a/theme/javascript/utils/analytic.js +++ b/theme/javascript/utils/analytic.js @@ -4,7 +4,7 @@ define([ ], function(_, mixpanel) { mixpanel.init("01eb2b950ae09a5fdb15a98dcc5ff20e", { loaded: function() { - track("View"); + track("page.start"); } }); diff --git a/theme/javascript/utils/execute.js b/theme/javascript/utils/execute.js index eb2a19b..eb2a19b 100644..100755 --- a/theme/javascript/utils/execute.js +++ b/theme/javascript/utils/execute.js diff --git a/theme/javascript/utils/platform.js b/theme/javascript/utils/platform.js index ad5f3b4..ad5f3b4 100644..100755 --- a/theme/javascript/utils/platform.js +++ b/theme/javascript/utils/platform.js diff --git a/theme/javascript/utils/sharing.js b/theme/javascript/utils/sharing.js index f4354f1..caf97fb 100644..100755 --- a/theme/javascript/utils/sharing.js +++ b/theme/javascript/utils/sharing.js @@ -19,7 +19,7 @@ define([ // Bind all sharing button var init = function() { - $("a[data-sharing]").click(function(e) { + $(document).on("click", "a[data-sharing]", function(e) { if (e) e.preventDefault(); var type = $(this).data("sharing"); diff --git a/theme/javascript/utils/storage.js b/theme/javascript/utils/storage.js index 57f5878..57f5878 100644..100755 --- a/theme/javascript/utils/storage.js +++ b/theme/javascript/utils/storage.js |