summaryrefslogtreecommitdiffstats
path: root/pages/tutorial.php
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2012-04-25 23:21:03 -0700
committerPatrick Davison <snapwilliam@gmail.com>2012-04-25 23:21:03 -0700
commitf7d2bffb4f3600757e28494d0556d5162d9fe024 (patch)
treea230a3d11184c90d925df0f66e51815efb38e86b /pages/tutorial.php
parent190c42665c804759847290e2f60b424df299f915 (diff)
parentdf71da70062b9f70d9906fa7df7350d47be79acc (diff)
downloadpathery-f7d2bffb4f3600757e28494d0556d5162d9fe024.tar.xz
Merge branch 'HEAD' of ssh://git@git.raylu.net/pathery
Diffstat (limited to 'pages/tutorial.php')
-rw-r--r--pages/tutorial.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/pages/tutorial.php b/pages/tutorial.php
index 0f10418..d962f68 100644
--- a/pages/tutorial.php
+++ b/pages/tutorial.php
@@ -205,6 +205,7 @@ function TutorialView(low, high) {
this.nextbtn = document.getElementById('nextbtn');
this.prevbtn = document.getElementById('prevbtn');
this.interval1 = this.interval2 = null;
+ mixpanel.track('tutorial', {'step': this.cur});
}
TutorialView.prototype.showTutorial = function(num) {
for (var i = this.low; i <= this.high; i++) {
@@ -235,6 +236,7 @@ TutorialView.prototype.next = function() {
//this.nextbtn.className += ' disabled';
}
this.prevbtn.className = this.prevbtn.className.replace(' hidden', '');
+ mixpanel.track('tutorial', {'step': this.cur});
}
TutorialView.prototype.prev = function() {
this.showTutorial(--this.cur);
@@ -260,7 +262,6 @@ TutorialView.prototype.unlock = function(n) {
}, 600);
}
}
-
}
</script>