Add slideToggles to subscription/one-time-payments divs
This commit is contained in:
parent
0dc9c6cdca
commit
c4e7f99202
2 changed files with 6 additions and 2 deletions
|
@ -140,9 +140,13 @@ $(document).ready(function() {
|
|||
// Toggle subscription and one-time payments div
|
||||
$('#li-one-time-charges').click(function() {
|
||||
console.log("li-one-time-charges clicked");
|
||||
$('#subscriptions').slideToggle();
|
||||
$('#one-time-charges').slideToggle();
|
||||
});
|
||||
$('#li-subscriptions').click(function() {
|
||||
console.log("li-one-time-charges clicked");
|
||||
console.log("li-one-time-charges clicked");
|
||||
$('#one-time-charges').slideToggle();
|
||||
$('#subscriptions').slideToggle();
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
@ -74,7 +74,7 @@
|
|||
</div>
|
||||
|
||||
|
||||
<div id="#one-time-charges" class="one-time-charges invisible">
|
||||
<div id="#one-time-charges" class="one-time-charges" style="display: none;">
|
||||
<table class="table table-switch">
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
Loading…
Reference in a new issue