fix(tracker): add check for sets
This commit is contained in:
parent
7499b05431
commit
5e8b663fb6
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ export default function (app: App): void {
|
|||
sendPlaceholder(id, this)
|
||||
} else {
|
||||
app.send(new SetNodeAttributeURLBased(id, 'src', src, app.getBaseHref()));
|
||||
app.send(new SetNodeAttribute(id, 'srcset', srcset, app.getBaseHref()));
|
||||
srcset && app.send(new SetNodeAttribute(id, 'srcset', srcset));
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue