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 a2496ce commit 28f2d45Copy full SHA for 28f2d45
git/gitauth.js
@@ -79,8 +79,8 @@ window.addEventListener('load', async () => {
79
window.addEventListener('message', async (event) => {
80
81
// if received a git code
82
- if (event.origin === window.location.origin
83
- && event.data.startsWith('gitCode=')) {
+ if (event.origin === window.location.origin &&
+ event.data && event.data.startsWith('gitCode=')) {
84
85
// hide intro screen
86
sidebar.classList.remove('intro');
0 commit comments