Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/mb-pages'
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Wojciechowski committed Aug 18, 2016
2 parents 9fd707a + 7b72610 commit f13af73
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_theme/section_list.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="clearfix">
<% members.forEach(function(member) { %>
<div class='keyline-bottom' id='<%- member.namespace %>'>
<div class="clearfix small pointer toggle-sibling">
<div class="clearfix small pointer toggle-sibling" data-href="#<%=member.namespace%>">
<div class="pad1y contain">
<a class='rcon pin-right pad1y dark-link caret-right'></a>
<span class='code strong strong truncate'><%= member.name%></span>
Expand Down
4 changes: 4 additions & 0 deletions docs/js/site.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ function load() {
$('a.action.signup').trigger('click');
return false;
});

$('[data-href]').on('click', function() {
window.location = $(this).data('href');
});
}

$(load);

0 comments on commit f13af73

Please sign in to comment.