Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Correct URL assignment for drop down navigation.

There was nothing technically wrong with the previous implementation,
but it was more than a little redundant.
  • Loading branch information...
commit 22ce2ec4c06d15b0739e9ecbfb40d20cd15eca03 1 parent 967aacf
Michael Sisk authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  -/js/dropdown.js
View
2  -/js/dropdown.js
@@ -4,7 +4,7 @@ jQuery( function( $ ) {
var url = $( this ).find( 'option:selected' ).data( 'webcomic-url' );
if ( url ) {
- window.location.href = $( this ).find( 'option:selected' ).data( 'webcomic-url' );
+ window.location.href = url;
}
} );
} );
Please sign in to comment.
Something went wrong with that request. Please try again.