Skip to content

Commit

Permalink
fix(compat): add element selector for cdk-accordion (#5954)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewseguin committed Jul 27, 2017
1 parent a7e75da commit 3c46001
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/expansion/accordion.ts
Expand Up @@ -19,7 +19,7 @@ let nextId = 0;
* Directive whose purpose is to manage the expanded state of CdkAccordionItem children.
*/
@Directive({
selector: '[cdk-accordion]',
selector: 'cdk-accordion, [cdk-accordion]',
})
export class CdkAccordion {
/** A readonly id value to use for unique selection coordination. */
Expand Down

0 comments on commit 3c46001

Please sign in to comment.