(In the past is was a DOMElement, so this WAS necessary.)
Omitting the $(...) call means that the Reference Universe widget is
no longer dependent on our old $ object still being so named, so that
it will work in contexts where another library redefines $. (That's
not a hypothetical: Wolfram saw this happen in his work embeddeding
widgets in Koha.)
var teamClass = 'mkwsTeam_' + this.team.name();
var html = "<h2>Reference Universe results:</h2>\n";
html += '<div class="mkwsRecords ' + teamClass
- + '" autosearch="' + $(this.node).attr("autosearch")
+ + '" autosearch="' + this.node.attr("autosearch")
+ '" sort="position" perpage="5"></div>';
- $(this.node).html(html);
+ this.node.html(html);
});