mirror of
https://github.com/seigler/govobject-proposal
synced 2025-07-27 06:46:10 +00:00
mainnet/testnet toggle is hidden upon clicking Create Proposal, reappeears upon New Proposal
This commit is contained in:
parent
8b7fca6136
commit
7a1cd9a458
1 changed files with 3 additions and 1 deletions
|
@ -102,6 +102,7 @@
|
||||||
document.getElementById('step_two').click();
|
document.getElementById('step_two').click();
|
||||||
document.getElementsByClassName('progress-bar')[0].style.width = "50%";
|
document.getElementsByClassName('progress-bar')[0].style.width = "50%";
|
||||||
document.getElementsByClassName('progress-bar')[0].innerText = "Generated wallet commands";
|
document.getElementsByClassName('progress-bar')[0].innerText = "Generated wallet commands";
|
||||||
|
$('#network_toggle').addClass('hidden');
|
||||||
|
|
||||||
proposal.walletCommands();
|
proposal.walletCommands();
|
||||||
|
|
||||||
|
@ -113,6 +114,7 @@
|
||||||
|
|
||||||
$('#btnNew').click(function() {
|
$('#btnNew').click(function() {
|
||||||
proposal.resetProposal();
|
proposal.resetProposal();
|
||||||
|
$('#network_toggle').removeClass('hidden');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -178,7 +180,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
|
|
||||||
<div class="btn-group" data-toggle="buttons">
|
<div id="network_toggle" class="btn-group" data-toggle="buttons">
|
||||||
<label class="btn btn-primary">
|
<label class="btn btn-primary">
|
||||||
<input type="radio" name="options" id="mainnet" autocomplete="off"> Mainnet
|
<input type="radio" name="options" id="mainnet" autocomplete="off"> Mainnet
|
||||||
</label>
|
</label>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue