Use css to hide div than js

This commit is contained in:
PCoder 2020-06-19 16:05:06 +05:30
parent 25255c862a
commit 81fd129d48
2 changed files with 1 additions and 4 deletions

View file

@ -148,9 +148,6 @@ $(document).ready(function() {
$('#one-time-charges').hide(); $('#one-time-charges').hide();
$('#subscriptions').show(); $('#subscriptions').show();
}); });
$('#one-time-charges').hide();
$('#subscriptions').show();
}); });
window.onload = function () { window.onload = function () {

View file

@ -74,7 +74,7 @@
</div> </div>
<div id="one-time-charges" class="one-time-charges"> <div id="one-time-charges" class="one-time-charges" style="display: none;">
<table class="table table-switch"> <table class="table table-switch">
<thead> <thead>
<tr> <tr>