From 81fd129d48f0e640ca7779886ca930aef689f826 Mon Sep 17 00:00:00 2001 From: PCoder Date: Fri, 19 Jun 2020 16:05:06 +0530 Subject: [PATCH] Use css to hide div than js --- hosting/static/hosting/js/virtual_machine_detail.js | 3 --- hosting/templates/hosting/invoices.html | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/hosting/static/hosting/js/virtual_machine_detail.js b/hosting/static/hosting/js/virtual_machine_detail.js index 38f18e72..4a60d32b 100644 --- a/hosting/static/hosting/js/virtual_machine_detail.js +++ b/hosting/static/hosting/js/virtual_machine_detail.js @@ -148,9 +148,6 @@ $(document).ready(function() { $('#one-time-charges').hide(); $('#subscriptions').show(); }); - - $('#one-time-charges').hide(); - $('#subscriptions').show(); }); window.onload = function () { diff --git a/hosting/templates/hosting/invoices.html b/hosting/templates/hosting/invoices.html index 5ec6b952..347b1ff4 100644 --- a/hosting/templates/hosting/invoices.html +++ b/hosting/templates/hosting/invoices.html @@ -74,7 +74,7 @@ -
+