File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 5
5
< title > KEYSTATION Example</ title >
6
6
< script src ="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js "> </ script >
7
7
< script src ="https://keystation.cosmostation.io/lib/keystation.js "> </ script >
8
+ <!-- <script src="http://localhost:8080/lib/keystation.js"></script> -->
8
9
</ head >
9
10
< body >
10
11
< button onclick ="login(); "> Keystation Login</ button >
49
50
50
51
window . addEventListener ( "message" , function ( e ) {
51
52
if ( e . origin != "https://keystation.cosmostation.io" ) return ;
53
+ // if (e.origin != "http://localhost:8080") return;
52
54
console . log ( e . data ) ;
53
55
// e.data.account : User's keychain account. Remember this account!
54
56
keystationAccount = e . data . account ;
Original file line number Diff line number Diff line change @@ -56,6 +56,8 @@ function isMnemonicsValid(mnemonics) {
56
56
return ;
57
57
}
58
58
59
+ $ ( "#mnemonics" ) . val ( cleanMnemonics ( mnemonics ) ) ;
60
+
59
61
$ ( ".pin-wrap" ) . addClass ( "open" ) ;
60
62
} )
61
63
You can’t perform that action at this time.
0 commit comments