Skip to content

Commit

Permalink
Stop link events misfiring, better selector.
Browse files Browse the repository at this point in the history
Resolves #2
  • Loading branch information
tommaitland committed Jul 29, 2013
1 parent 9252f14 commit 7540a18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions carousel.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@

var navigation = function() {

$('a[data-carousel!=""]').click( function(e) {
$('a[data-carousel]').click( function(e) {

plugin.pause();

Expand Down Expand Up @@ -274,4 +274,4 @@

};

})(jQuery);
})(jQuery);

0 comments on commit 7540a18

Please sign in to comment.