mirror of
https://github.com/seigler/govobject-proposal
synced 2025-07-27 06:46:10 +00:00
update default network
This commit is contained in:
parent
1459d662cb
commit
81af6e1fa4
1 changed files with 6 additions and 6 deletions
12
index.html
Executable file → Normal file
12
index.html
Executable file → Normal file
|
@ -44,7 +44,7 @@
|
|||
|
||||
var init = function(network, provider, prefix) {
|
||||
var gov = new Bitcore.GovObject.Proposal();
|
||||
gov.network = network || 'testnet';
|
||||
gov.network = network || 'mainnet';
|
||||
|
||||
paymentCycle = new PaymentCycle(gov, provider, prefix);
|
||||
|
||||
|
@ -79,7 +79,7 @@
|
|||
|
||||
$(document).ready(function() {
|
||||
|
||||
var gov = init('testnet', testnetProvider, testnetPrefix); // default network;
|
||||
var gov = init('mainnet', mainnetProvider, mainnetPrefix); // default network;
|
||||
|
||||
$('#mainnet').change(function() { gov = init('mainnet', mainnetProvider, mainnetPrefix); });
|
||||
$('#testnet').change(function() { gov = init('testnet', testnetProvider, testnetPrefix); });
|
||||
|
@ -300,11 +300,11 @@
|
|||
<div class="row">
|
||||
<div class="col-xs-offset-8 col-xs-4">
|
||||
<div id="network_toggle" class="btn-group" data-toggle="buttons">
|
||||
<label class="btn btn-primary">
|
||||
<input type="radio" name="options" id="mainnet" autocomplete="off"> Mainnet
|
||||
</label>
|
||||
<label class="btn btn-primary active">
|
||||
<input type="radio" name="options" id="testnet" autocomplete="off" checked> Testnet
|
||||
<input type="radio" name="options" id="mainnet" autocomplete="off" checked> Mainnet
|
||||
</label>
|
||||
<label class="btn btn-primary">
|
||||
<input type="radio" name="options" id="testnet" autocomplete="off"> Testnet
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue