diff --git a/src/view-factory.js b/src/view-factory.js index d820c494..ba81d809 100644 --- a/src/view-factory.js +++ b/src/view-factory.js @@ -181,10 +181,8 @@ function applySurrogateInstruction(container, element, instruction, behaviors, b if(currentAttributeValue){ if(key === 'class'){ - if(currentAttributeValue !== 'au-target'){ - //merge the surrogate classes - element.setAttribute('class', currentAttributeValue + ' ' + values[key]); - } + //merge the surrogate classes + element.setAttribute('class', currentAttributeValue + ' ' + values[key]); }else if(key === 'style'){ //merge the surrogate styles let styleObject = styleStringToObject(values[key]);