mirror of
https://github.com/OutCast3k/coinbin.git
synced 2026-01-08 16:58:28 +01:00
Add an ability to change default API
This commit is contained in:
parent
cda4559cfd
commit
87bfa19ce8
@ -1,4 +1,14 @@
|
||||
$(document).ready(function() {
|
||||
var default_api = 'coinb.in';
|
||||
/* Default value */
|
||||
var defaultConfig = false;
|
||||
if (defaultConfig === false) {
|
||||
$("#coinjs_broadcast").val(default_api);
|
||||
$("#coinjs_utxo").val(default_api);
|
||||
configureBroadcast();
|
||||
configureGetUnspentTx();
|
||||
defaultConfig = true;
|
||||
}
|
||||
|
||||
/* open wallet code */
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user