Skip to content

Commit 146d32d

Browse files
authored
fix for skillmap projects visible in main project list (microsoft#10437)
1 parent 5a7bd13 commit 146d32d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pxtlib/browserutils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ namespace pxt.BrowserUtils {
161161

162162
export function isSkillmapEditor(): boolean {
163163
try {
164-
return /skill(?:s?)Map=1/.test(window.location.href);
164+
return /skill(?:s?)map=1/i.test(window.location.href);
165165
} catch (e) { return false; }
166166
}
167167

0 commit comments

Comments
 (0)