Skip to content

Commit

Permalink
demo pages. alert if keychain is not installed added
Browse files Browse the repository at this point in the history
  • Loading branch information
dtaipov committed Feb 15, 2019
1 parent 3f8049b commit 7346dde
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,8 @@
onHash(true);
};
keychain.ws.onclose = function() {
document.getElementById('error').style.display = 'block';
// document.getElementById('error').style.display = 'block';
alert('WebSocket connection failed. Check if KeyChain is installed.');
};

function onHash(runRequestParam) {
Expand Down
3 changes: 2 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,8 @@
onHash(true);
};
keychain.ws.onclose = function() {
document.getElementById('error').style.display = 'block';
// document.getElementById('error').style.display = 'block';
alert('WebSocket connection failed. Check if KeyChain is installed.');
};

function onHash(runRequestParam) {
Expand Down

0 comments on commit 7346dde

Please sign in to comment.