Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
beneater committed May 19, 2012
1 parent e933528 commit 98b518a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion khan-exercise.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ var Khan = (function() {
testMode ? "http://localhost:8080" : "",

// The ID, filename, and name of the exercise -- these will only be set here in testMode
exerciseId = ((/([^\/.]+)(?:\.html)?$/.exec(window.location.pathname) || [])[1]),
exerciseId = ((/([^\/.]+)(?:\.html)?$/.exec(window.location.pathname) || [])[1]) || "",
exerciseFile = exerciseId + ".html",
exerciseName = deslugify(exerciseId),

Expand Down

0 comments on commit 98b518a

Please sign in to comment.