Skip to content

Commit

Permalink
Merge pull request #46 from markrileybot/master
Browse files Browse the repository at this point in the history
This fixes a problem where nothing happens after preConnectMsg
  • Loading branch information
zachhuff386 authored Jan 16, 2020
2 parents 3524f5f + 8e1ded1 commit a533a09
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions client/www/js/profileView.js
Original file line number Diff line number Diff line change
Expand Up @@ -420,15 +420,14 @@ var renderProfile = function(index, prfl) {
message: 'Connecting to ' + data.name,
detail: preConnectMsg,
buttons: ['Disconnect', 'Connect'],
},
function(resp) {
if (resp === 1) {
prflConnect();
} else {
closeMenu($profile);
}
},
);
}
).then(function(resp) {
if (resp.response === 1) {
prflConnect();
} else {
closeMenu($profile);
}
});
} else {
prflConnect();
}
Expand Down

0 comments on commit a533a09

Please sign in to comment.