Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jsor committed Mar 15, 2011
1 parent 40eb736 commit 1ae2aa1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jquery.jcarousel.js
Expand Up @@ -524,8 +524,8 @@

$(window).bind('load.jcarousel', function() { $j.windowLoaded = true; });

$.expr.filters['jcarousel'] = function(elem) {
return !($.data(elem, 'jcarousel') == null);
$.expr.filters.jcarousel = function(elem) {
return $.data(elem, 'jcarousel') != null;
};

$.each($j.itemData, function(i, name) {
Expand Down

0 comments on commit 1ae2aa1

Please sign in to comment.