We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e67bb9 commit d2a93c8Copy full SHA for d2a93c8
include/pyjs/pre_js/init.js
@@ -276,7 +276,7 @@ def _mock_webbrowser():
276
window.open(url)
277
except ImportError:
278
# Assuming we're in a web worker
279
- # This is sent to the main thread, which will do the window.open
+ # This is sent to the main thread, which will do the window.open if implemented
280
obj = pyjs.js.Function("url","n",
281
"""
282
return {'OPEN_TAB':{'url': url, 'new': n}}
0 commit comments