@@ -139,7 +139,7 @@ define(function(require, exports, module) {
139139 $startTutorial = $ ( '.js-tutorial-start' ) ,
140140 lastTutorialStepNum = null ;
141141
142- function processInput ( ) {
142+ function processInput ( trackEvents ) {
143143 var input = $input . val ( ) ,
144144 expression , columnClasses ;
145145
@@ -158,7 +158,8 @@ define(function(require, exports, module) {
158158 if ( expression . hasMixedOperatorsDeep ( ) ) {
159159 $inputForm . addClass ( 'has-error' ) ;
160160 $alertMixedOperators . removeClass ( 'hidden' ) ;
161- trackEventInputMixedOperators ( ) ;
161+
162+ if ( trackEvents ) { trackEventInputMixedOperators ( ) ; }
162163 } else {
163164
164165 $truthTable . removeClass ( 'hidden' ) ;
@@ -169,19 +170,19 @@ define(function(require, exports, module) {
169170 printCells ( expression , columnClasses )
170171 ) ;
171172
172- trackEventInputParse ( ) ;
173+ if ( trackEvents ) { trackEventInputParse ( ) ; }
173174
174175 }
175176
176177 }
177178 }
178179
179180 $submit . on ( 'click keypress' , function ( ) {
180- processInput ( ) ;
181+ processInput ( true ) ;
181182 } ) ;
182183
183184 $input . on ( 'tutorial.change' , function ( ) {
184- processInput ( ) ;
185+ processInput ( false ) ;
185186 } ) ;
186187
187188 $startTutorial . click ( function ( ) {
0 commit comments