mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-23 21:18:07 +00:00
Add hide upgrade log button
This commit is contained in:
parent
bcbbbc9d2d
commit
275fff270c
|
@ -240,14 +240,30 @@
|
|||
}
|
||||
});
|
||||
|
||||
showing_upgrade_log=0;
|
||||
$("#show_upgrade_status").on("click", function() {
|
||||
$("#show_upgrade_status").hide(0);
|
||||
$("#upgrade_status").show();
|
||||
if (showing_upgrade_log == 0) {
|
||||
$("#show_upgrade_status").html("Hide Upgrade Log");
|
||||
$("#upgrade_status").show();
|
||||
showing_upgrade_log = 1;
|
||||
} else {
|
||||
$("#show_upgrade_status").html("Show Upgrade Log");
|
||||
$("#upgrade_status").hide();
|
||||
showing_upgrade_log = 0;
|
||||
}
|
||||
});
|
||||
|
||||
showing_upgrade_beta_log=0;
|
||||
$("#show_upgrade_status_beta").on("click", function() {
|
||||
$("#show_upgrade_status_beta").hide(0);
|
||||
$("#upgrade_status_beta").show();
|
||||
if (showing_upgrade_beta_log == 0) {
|
||||
$("#show_upgrade_status_beta").html("Hide Upgrade Log");
|
||||
$("#upgrade_status_beta").show();
|
||||
showing_upgrade_beta_log = 1;
|
||||
} else {
|
||||
$("#show_upgrade_status_beta").html("Show Upgrade Log");
|
||||
$("#upgrade_status_beta").hide();
|
||||
showing_upgrade_beta_log = 0;
|
||||
}
|
||||
});
|
||||
|
||||
$("#upgrade_changelog").on("click", function() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user