iOS back button
This commit is contained in:
parent
a09482ad32
commit
1d943a5dd0
1 changed files with 1 additions and 1 deletions
|
|
@ -488,7 +488,7 @@ function parseTimeToMins(cTime) {
|
|||
}
|
||||
|
||||
// Prevent spinner when clicking on back button
|
||||
window.onbeforeunload = function(){
|
||||
window.onpagehide = function(){
|
||||
$('loading_spinner').remove();
|
||||
$("#generate_report").prop("disabled", false).html(`Generate report`);
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue