Skip to content
Snippets Groups Projects
Verified Commit 14ce6259 authored by TheJoeCoder's avatar TheJoeCoder
Browse files

Save Now fixes

parent 63d75fb1
Branches
No related tags found
No related merge requests found
......@@ -21,6 +21,7 @@ function realSaveProgress(location, percentage) {
);
$("#lastsaved").html("Progress saved.");
last_save_time = new Date();
}
function saveProgress(location, percentage) {
......@@ -35,7 +36,6 @@ function saveProgress(location, percentage) {
// Save the progress
realSaveProgress(location, percentage);
last_save_time = current_time;
} else {
// Don't save 'cause we don't want to lag out the server if the user is scrolling
$("#lastsaved").html("Unsaved progress - <a href=\"#\" onclick=\"realSaveProgress('" + location + "', " + percentage + "); return false;\">Click here to save now</a>");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment