Skip to content

Commit

Permalink
Allow multiple nav sections to be open in the Spine
Browse files Browse the repository at this point in the history
Fixes #367
  • Loading branch information
jeremyfelt committed May 19, 2016
1 parent 5d3c8e6 commit 5d21263
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions scripts/ui.spine.framework.js
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,6 @@
var target = $( evt.target );

evt.preventDefault();
target.closest( "li" ).siblings().removeClass( "opened" );
target.closest( "li" ).toggleClass( "opened" );

// Remove the toggle event, as it will be added again on the next touchstart.
Expand Down Expand Up @@ -704,7 +703,6 @@
// Disclosure
couplets.on( "click", function( e ) {
e.preventDefault();
$( e.target ).closest( "li" ).siblings().removeClass( "opened" );
$( e.target ).closest( "li" ).toggleClass( "opened" );
} );

Expand Down

0 comments on commit 5d21263

Please sign in to comment.