From 66530288634b4157dcaf1b7eb6ef2e186a637f28 Mon Sep 17 00:00:00 2001 From: rugk Date: Wed, 25 Nov 2020 16:38:10 +0100 Subject: [PATCH] docs: make MDN link locale-indepenent (#39842) `en-US` makes it link to the English (US) version. This patch removes this and let's MDN auto-redirect to the user's preferred/selected language/website locale. PR Close #39842 --- aio/content/guide/attribute-directives.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/content/guide/attribute-directives.md b/aio/content/guide/attribute-directives.md index e793a8ee33..908ce0aa87 100644 --- a/aio/content/guide/attribute-directives.md +++ b/aio/content/guide/attribute-directives.md @@ -68,7 +68,7 @@ The generated `src/app/highlight.directive.ts` is as follows: The imported `Directive` symbol provides Angular the `@Directive` decorator. The `@Directive` decorator's lone configuration property specifies the directive's -[CSS attribute selector](https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors), `[appHighlight]`. +[CSS attribute selector](https://developer.mozilla.org/docs/Web/CSS/Attribute_selectors), `[appHighlight]`. It's the brackets (`[]`) that make it an attribute selector. Angular locates each element in the template that has an attribute named `appHighlight` and applies the logic of this directive to that element.