Skip to content

Commit

Permalink
Remove event.preventDefault
Browse files Browse the repository at this point in the history
  • Loading branch information
t0rr3sp3dr0 committed Mar 1, 2017
1 parent 536970a commit ec04dd9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions script.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
$( '.mdl-navigation__link' ).click(function( event ) {
event.preventDefault();

$( '.is-active' ).removeClass( 'is-active' );
$( this ).addClass( 'is-active' );
$.get( $( this ).attr( 'href' ).toLowerCase().replace('#', '').replace(/ /g, '_') + '/', function( data ) {
Expand Down

0 comments on commit ec04dd9

Please sign in to comment.