mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-25 22:18:07 +00:00
Add ability to hide changelog
This commit is contained in:
parent
19f8b62005
commit
683355e69a
|
@ -13,6 +13,8 @@
|
|||
<script>
|
||||
$(document).ready(function() {
|
||||
|
||||
var showChangelog=0;
|
||||
|
||||
$("#upgrade").on("click", function() {
|
||||
// Enable electrs
|
||||
var okFunction = function() {
|
||||
|
@ -185,8 +187,18 @@
|
|||
});
|
||||
|
||||
$("#show_mynode_changelog").on("click", function() {
|
||||
$("#show_mynode_changelog").hide(0);
|
||||
$("#mynode_changelog").show();
|
||||
if (showChangelog)
|
||||
{
|
||||
$("#show_mynode_changelog").text("Show Change Log");
|
||||
$("#mynode_changelog").hide();
|
||||
showChangelog=0;
|
||||
}
|
||||
else
|
||||
{
|
||||
$("#show_mynode_changelog").text("Hide Change Log");
|
||||
$("#mynode_changelog").show();
|
||||
showChangelog=1;
|
||||
}
|
||||
});
|
||||
|
||||
{% if product_key_skipped %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user