Skip to content

Commit 586b423

Browse files
ivanzuskokedashoe
authored andcommitted
tryInREPL open in separate tab (#184)
1 parent 809bac6 commit 586b423

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
var versionParam = version ? '?v=' + version : '';
106106
var code = event.target.nextElementSibling.textContent;
107107
var encoded = fixedEncodeURIComponent(code);
108-
location.assign(location.origin + '/repl/' +
108+
window.open(location.origin + '/repl/' +
109109
versionParam + '#;' + encoded);
110110
}
111111

0 commit comments

Comments
 (0)