]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Removed extra "." from class name 8830/head
authorStephen James <StephenOrJames@users.noreply.github.com>
Sun, 22 May 2016 20:38:04 +0000 (16:38 -0400)
committerStephen James <StephenOrJames@users.noreply.github.com>
Sun, 22 May 2016 20:38:04 +0000 (16:38 -0400)
docs/pages/dropdown-menu.md

index f95c0d1088ce02869743c1e2daa6360f95017ac3..f6ca5312677357c09f9142887ad6072ea881214f 100644 (file)
@@ -157,11 +157,11 @@ See the documentation for the [Sticky](sticky.html#sticky-navigation) plugin to
 
 ### Preventing FOUC
 
-Before the JavaScript on your page loads, the dropdown menus will not have arrows. However, once the JavaScript file has loaded, the arrows will appear causing a [flash of unstyled content](https://en.wikipedia.org/wiki/Flash_of_unstyled_content). You can prevent this by adding the `.is-dropdown-submenu-parent` class manually. 
+Before the JavaScript on your page loads, the dropdown menus will not have arrows. However, once the JavaScript file has loaded, the arrows will appear causing a [flash of unstyled content](https://en.wikipedia.org/wiki/Flash_of_unstyled_content). You can prevent this by adding the `is-dropdown-submenu-parent` class manually. 
 
 ```html
 <ul class="dropdown menu" data-dropdown-menu>
-  <li class=".is-dropdown-submenu-parent">
+  <li class="is-dropdown-submenu-parent">
     <a href="#">Item 1</a>
     <ul class="menu">
       <li><a href="#">Item 1A</a></li>
@@ -172,4 +172,4 @@ Before the JavaScript on your page loads, the dropdown menus will not have arrow
   <li><a href="#">Item 3</a></li>
   <li><a href="#">Item 4</a></li>
 </ul>
-```
\ No newline at end of file
+```