Permalink
Browse files

hintRemainder isn't used anymore

  • Loading branch information...
1 parent d06fba8 commit 2fde49519557d5cc0b62b748f033a81b0ed53943 @beneater beneater committed Apr 11, 2012
Showing with 0 additions and 11 deletions.
  1. +0 −11 khan-exercise.js
View
@@ -1478,17 +1478,6 @@ var Khan = (function() {
thisState.slide.scrubber();
});
- if (slideNum < firstHintIndex) {
- hintRemainder.fadeOut(fadeTime);
- hintButton.val("I'd like a hint");
- } else if (slideNum >= lastHintIndex) {
- if (states.eq(lastHintIndex).data("hint") < hints.length) {
- hintRemainder.fadeOut(fadeTime);
- }
- } else {
- hintButton.val("I'd like another hint (" + (totalHints - thisState.hintNum) + " remaining)");
- }
-
$("#workarea").remove();
$("#hintsarea").remove();
$("#problemarea").append(thisState.problem).append(thisState.hintArea);

0 comments on commit 2fde495

Please sign in to comment.