We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d1dc6b commit a3dbdcaCopy full SHA for a3dbdca
src/js/components/login.js
@@ -50,7 +50,7 @@ var Login = React.createClass({
50
51
if (code || error) {
52
// Close the browser if code found or error
53
- authWindow.close();
+ authWindow.destroy();
54
}
55
56
// If there is a code, proceed to get token from github
@@ -64,8 +64,8 @@ var Login = React.createClass({
64
65
// If "Done" button is pressed, hide "Loading"
66
authWindow.on('close', function () {
67
- authWindow = null;
68
- }, false);
+ });
69
70
},
71
0 commit comments