Skip to content

Commit 2bae28e

Browse files
authored
Merge pull request #32 from thinkthroughmath/MATH-7889-fix-error-if-missing-right-parenthisis
MATH-7889 - TypeError in Lesson Player - e.last is not a function
2 parents 7394570 + a5d25dd commit 2bae28e

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

dist/javascript-calculator.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ var global=typeof self !== "undefined" ? self : typeof window !== "undefined" ?
195195
var answerText, expText;
196196
this.typeLastPressed = "equals";
197197
expText = this.element.find("figure.jc--display").html();
198+
this.updateCurrentExpressionWithCommand(this.math.commands.build_exit_sub_expression());
198199
this.updateCurrentExpressionWithCommand(this.math.commands.build_calculate());
199200
this.reset_on_next_number = true;
200201
answerText = this.element.find("figure.jc--display").html();
@@ -689,5 +690,5 @@ var global=typeof self !== "undefined" ? self : typeof window !== "undefined" ?
689690

690691
}).call(this);
691692

692-
},{}]},{},[1,2,3,4])
693+
},{}]},{},[1,4,3,2])
693694
;

0 commit comments

Comments
 (0)