Browse Source

Fix mobile menu init on not tab pages

pull/1129/head
jlukic 10 years ago
parent
commit
9a92cd651c
2 changed files with 6 additions and 4 deletions
  1. 4
      server/documents/collections/breadcrumb.html.eco
  2. 6
      server/files/javascript/semantic.js

4
server/documents/collections/breadcrumb.html.eco

@ -37,7 +37,7 @@ themes : ['Default']
<h2 class="ui dividing header">Elements</h2>
<div class="example">
<h4 class="ui header">A divider</h4>
<h4 class="ui header">Divider</h4>
<p>A breadcrumb can contain a divider to show the relationship between sections, this can be formatted as an icon or text.</p>
<div class="ui breadcrumb">
<a class="section">Home</a>
@ -49,7 +49,7 @@ themes : ['Default']
</div>
<div class="example">
<h4 class="ui header">A section</h4>
<h4 class="ui header">Section</h4>
<p>A breadcrumb can contain sections that can either be formatted as a link or text</p>
<div class="ui breadcrumb">
<a class="section">Home</a>

6
server/files/javascript/semantic.js

@ -791,8 +791,10 @@ semantic.ready = function() {
}
else {
handler.makeCode();
handler.createMenu();
handler.createWaypoints();
handler.tryCreateMenu();
$(window).on('resize.menu', function() {
handler.tryCreateMenu();
});
}

Loading…
Cancel
Save