Permalink
Browse files

create() calls activate(), so activate() should be defined before the…

… call to create() is queued
  • Loading branch information...
1 parent 883e26b commit ee99f012455c96d03fa9e5996ed46b98f37bdccd @beneater beneater committed May 3, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 khan-exercise.js
View
@@ -1461,8 +1461,6 @@ var Khan = (function() {
});
};
- MathJax.Hub.Queue(function() {create(0);});
-
var activate = function(slideNum) {
var hint, thisState,
thisSlide = states.eq(slideNum),
@@ -1512,6 +1510,8 @@ var Khan = (function() {
}
};
+ MathJax.Hub.Queue(function() {create(0);});
+
// Allow users to use arrow keys to move up and down the timeline
$(document).keydown(function(event) {
if (event.keyCode !== 37 && event.keyCode !== 39) {

0 comments on commit ee99f01

Please sign in to comment.