diff --git a/src/view-compiler.js b/src/view-compiler.js index 7fa5fd88..3174b53a 100644 --- a/src/view-compiler.js +++ b/src/view-compiler.js @@ -246,13 +246,13 @@ export class ViewCompiler { if(tagName === 'content'){ if(targetLightDOM){ - instructions.push({ + auTargetID = makeIntoInstructionTarget(node); + instructions[auTargetID] = { parentInjectorId: parentInjectorId, contentSelector: true, selector:node.getAttribute('select'), suppressBind: true - }); - makeIntoInstructionTarget(node); + }; } return node.nextSibling; } else if(tagName === 'template'){