Skip to content

Commit 06da536

Browse files
authored
Update element variable to point to DOM element instead of jQuery object (#245)
1 parent 153f23b commit 06da536

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/builtinRendererHooks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export async function activate(ctx: RendererContext<void>) {
6565
}],
6666
};
6767
// Required by JS code in Jupyter notebook renderers again, even scenepic (Microsoft Python widget) uses this.
68-
const ele = $(document.getElementById("${element.id}"));
68+
const ele = document.getElementById("${element.id}");
6969
(function (element){
7070
gotToUserScript = true;
7171
${script}

0 commit comments

Comments
 (0)