From 66063d1965fcde431f70fd0516a5f8ad2d2e08be Mon Sep 17 00:00:00 2001 From: Shawn Allen Date: Thu, 28 Feb 2019 14:12:28 -0800 Subject: [PATCH] docs(utilities): fix js code block error --- src/utilities/docs/layout.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utilities/docs/layout.md b/src/utilities/docs/layout.md index b5d965e43d..979004bd7a 100644 --- a/src/utilities/docs/layout.md +++ b/src/utilities/docs/layout.md @@ -41,7 +41,7 @@ As of [Primer v10.10.0](https://github.com/primer/css/releases/v10.10.0), `prime Rather than toggling the `d-none` class in JavaScript, you should toggle the `hidden` property on an element. This means that you won't have to restore any more specific display utility (`d-inline` or `d-flex`, for instance) just to work around the order in which they're listed in the stylesheet. -```js +```js dead // Good: element.hidden = !visible