Skip to content

Commit

Permalink
Fix #122570
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackson Kearl committed Jun 4, 2021
1 parent 2bcdb95 commit ae4124a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1078,7 +1078,7 @@ export class GettingStartedPage extends EditorPane {
}
this.openerService.open(command, { allowCommands: true });

if (!isCommand && node.href.startsWith('https://')) {
if (!isCommand && (node.href.startsWith('https://') || node.href.startsWith('http://'))) {
this.gettingStartedService.progressByEvent('onLink:' + node.href);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ export class GettingStartedService extends Disposable implements IGettingStarted
if (href.startsWith('command:')) {
return 'onCommand:' + href.slice('command:'.length, href.includes('?') ? href.indexOf('?') : undefined);
}
if (href.startsWith('https://')) {
if (href.startsWith('https://') || href.startsWith('http://')) {
return 'onLink:' + href;
}
return undefined;
Expand Down

0 comments on commit ae4124a

Please sign in to comment.