Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
owocki committed Apr 12, 2018
1 parent c424943 commit 8cf1dfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/v2/js/shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ var listen_for_web3_changes = function() {
if (typeof web3 == 'undefined') {
trigger_sidebar_web3_disabled();
trigger_form_hooks();
} else if (!web3.eth.coinbase) {
} else if (typeof web3 == 'undefined' || typeof web3.eth == 'undefined' || typeof web3.eth.coinbase == 'undefined') {
trigger_sidebar_web3_locked();
trigger_form_hooks();
} else {
Expand Down

0 comments on commit 8cf1dfd

Please sign in to comment.