Skip to content

Commit b568375

Browse files
authored
Update libembed-amd.ts
1 parent 522fe71 commit b568375

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/html-manager/src/libembed-amd.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const scripts = document.getElementsByTagName('script');
1111
Array.prototype.forEach.call(scripts, (script: HTMLScriptElement) => {
1212
cdn = script.getAttribute('data-jupyter-widgets-cdn') || cdn;
1313
onlyCDN =
14-
onlyCDN || script.getAttribute('data-jupyter-widgets-cdn-only') != null;
14+
onlyCDN || script.hasAttribute('data-jupyter-widgets-cdn-only');
1515
});
1616

1717
/**

0 commit comments

Comments
 (0)