Skip to content

Commit d243eca

Browse files
author
t-lizaid
committed
instant redirect
1 parent 67220ff commit d243eca

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

demo/v2-demo/index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,12 @@
8585
</html>
8686

8787
<script>
88-
$(document).ready(function() {
89-
let shouldOpenCodeStep = GetParameterByName("embedUrl") || GetParameterByName("embedId") || GetParameterByName("accessToken") || GetParameterByName("entityType");
90-
91-
// Redirecting to the new playground unless the noRedirect param is true or playground should open code step
92-
if (!GetParameterByName("noRedirect") && !shouldOpenCodeStep) {
93-
window.open("https://aka.ms/PlaygroundAutoRedirect", '_self');
94-
}
95-
});
88+
//$(document).ready(function() {
89+
let shouldOpenCodeStep = GetParameterByName("embedUrl") || GetParameterByName("embedId") || GetParameterByName("accessToken") || GetParameterByName("entityType");
90+
91+
// Redirecting to the new playground unless the noRedirect param is true or playground should open code step
92+
if (!GetParameterByName("noRedirect") && !shouldOpenCodeStep) {
93+
window.open("https://aka.ms/PlaygroundAutoRedirect", '_self');
94+
}
95+
//});
9696
</script>

0 commit comments

Comments
 (0)