]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fixes [Callout] data-closable not working #7260 7453/head
authorjk <j.koehler@modulingo.de>
Tue, 8 Dec 2015 18:44:41 +0000 (19:44 +0100)
committerjk <j.koehler@modulingo.de>
Tue, 8 Dec 2015 18:44:41 +0000 (19:44 +0100)
docs/pages/callout.md

index c398a969b3612b6eba04ae9cf462bc693e63344c..550f2f9b0a40ed3d49f642a42ad7c56a8890e8b8 100644 (file)
@@ -93,7 +93,7 @@ Pair the callout with the [close button](close-button.html) component and `data-
 <div class="alert callout" data-closable>
   <h5>This is Important!</h5>
   <p>But when you're done reading it, click the close button in the corner to dismiss this alert.</p>
-  <button class="close-button" aria-label="Dismiss alert" type="button">
+  <button class="close-button" aria-label="Dismiss alert" type="button" data-close>
     <span aria-hidden="true">&times;</span>
   </button>
 </div>