diff --git a/rootfs/standard/var/www/mynode/templates/premium_plus.html b/rootfs/standard/var/www/mynode/templates/premium_plus.html index 8317411f..3798d821 100644 --- a/rootfs/standard/var/www/mynode/templates/premium_plus.html +++ b/rootfs/standard/var/www/mynode/templates/premium_plus.html @@ -60,6 +60,7 @@ }); $("#clear_token_button").on("click", function() { if (confirm("Are you sure you want to clear your Premium+ Access Token?")) { + $('#loading_spinner_overlay').fadeIn(); window.location.href='/premium-plus/clear-token'; } }); @@ -74,6 +75,7 @@ $("#sync_status_save").show(); }); $("#sync_status_save").on("click", function() { + $('#loading_spinner_overlay').fadeIn(); enabled=$('#sync_status_checkbox').is(":checked"); if (enabled) { @@ -89,6 +91,7 @@ $("#sync_bitcoin_and_lightning_save").show(); }); $("#sync_bitcoin_and_lightning_save").on("click", function() { + $('#loading_spinner_overlay').fadeIn(); enabled=$('#sync_bitcoin_and_lightning_checkbox').is(":checked"); if (enabled) { @@ -104,6 +107,7 @@ $("#backup_scb_save").show(); }); $("#backup_scb_save").on("click", function() { + $('#loading_spinner_overlay').fadeIn(); enabled=$('#backup_scb_checkbox').is(":checked"); if (enabled) { @@ -119,6 +123,7 @@ $("#watchtower_save").show(); }); $("#watchtower_save").on("click", function() { + $('#loading_spinner_overlay').fadeIn(); enabled=$('#watchtower_checkbox').is(":checked"); if (enabled) { @@ -210,7 +215,7 @@ - +