-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
When updating a script node that was previously appended to the DOM with a url, no network request is made.
- Append script node to document
- Find script node with selector
$node.attr('src', someUrl);
Observe: No network request for someUrl is made in the browser's network tab
See example of jquery handling this: https://jsfiddle.net/w1gg6dgm/
This lack of functionality is manifested in a few different ways...
Appending a script node that already has a src attribute set never requests the file at src.
Example:
const $node = $('<script src=${url}></script>');
$('body').append($node); // should cause the script src to be loaded.... it doesn't
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels