mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-28 15:49:57 +09:00
Fix #238 installer freezing in Chrome
This commit is contained in:
parent
a499aa0d1f
commit
f038091b37
4 changed files with 16 additions and 5 deletions
|
|
@ -37,11 +37,20 @@ jQuery(function($){
|
|||
}
|
||||
});
|
||||
}
|
||||
if($("#task-db-select").size()) {
|
||||
$("#task-db-select").parents("form").on("submit", function() {
|
||||
setTimeout(function() {
|
||||
$("#task-db-select").text($("#task-db-select").data("checking"));
|
||||
$("#task-db-select").prop("disabled", true);
|
||||
}, 100);
|
||||
});
|
||||
}
|
||||
if($("#task-complete-install").size()) {
|
||||
$("#task-complete-install").click(function() {
|
||||
$("#task-complete-install").text($("#task-complete-install").data("installing"));
|
||||
$("#task-complete-install").prop("disabled", true);
|
||||
$(window).on("beforeunload", function() { return ""; });
|
||||
$("#task-complete-install").parents("form").on("submit", function() {
|
||||
setTimeout(function() {
|
||||
$("#task-complete-install").text($("#task-complete-install").data("installing"));
|
||||
$("#task-complete-install").prop("disabled", true);
|
||||
}, 100);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue