Replace `div` with `span` as they are not valid inside of a `button` element

This commit is contained in:
Michael Rose 2017-03-29 15:12:54 -04:00
parent 585444bced
commit 81a477ea18
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
<div class="sidebar-toggle-wrapper"> <div class="sidebar-toggle-wrapper">
<button class="toggle navicon-button larr" type="button"> <button class="toggle navicon-button larr" type="button">
<span class="sidebar-toggle-label">{{ site.data.theme.t.menu | default: 'Menu' }}</span> <span class="sidebar-toggle-label">{{ site.data.theme.t.menu | default: 'Menu' }}</span>
<div class="navicon"></div> <span class="navicon"></span>
</button> </button>
</div> </div>

View File

@ -15,7 +15,7 @@
<div class="sidebar-toggle-wrapper"> <div class="sidebar-toggle-wrapper">
<button class="toggle navicon-button larr" type="button"> <button class="toggle navicon-button larr" type="button">
<span class="sidebar-toggle-label">{{ site.data.theme.t.menu | default: 'Menu' }}</span> <span class="sidebar-toggle-label">{{ site.data.theme.t.menu | default: 'Menu' }}</span>
<div class="navicon"></div> <span class="navicon"></span>
</button> </button>
</div> </div>