Commit 076ec7d3 by Chris Dodge

fix broken page reload on timeout

parent 743a4dbb
...@@ -124,7 +124,7 @@ var edx = edx || {}; ...@@ -124,7 +124,7 @@ var edx = edx || {};
clearInterval(self.timerId); // stop the timer once the time finishes. clearInterval(self.timerId); // stop the timer once the time finishes.
$(window).unbind('beforeunload', this.unloadMessage); $(window).unbind('beforeunload', this.unloadMessage);
// refresh the page when the timer expired // refresh the page when the timer expired
this.reloadPage() self.reloadPage();
} }
} }
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment