We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 032eec9 commit 2c3f64fCopy full SHA for 2c3f64f
src/repl/commandtransformer.js
@@ -254,7 +254,7 @@ cls.HostCommandTransformer = function() {
254
{
255
if (this.is_global_call(tokenlist, index))
256
token[VALUE] = "(typeof $ == 'function' && $ || \
257
- function(e) { return document.getElementById(e); })";
+ function(e) { return document.querySelector(e); })";
258
};
259
260
this._hostcommands.$$ = function(token, tokenlist, index)
0 commit comments