@@ -21,6 +21,7 @@ function realSaveProgress(location, percentage) {
);
$("#lastsaved").html("Progress saved.");
last_save_time=newDate();
}
functionsaveProgress(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>");