Skip to content

Commit

Permalink
Add missing coma in gallery filter
Browse files Browse the repository at this point in the history
  • Loading branch information
nyroDev committed May 4, 2011
1 parent f9e23ba commit 1b7000d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/jquery.nyroModal.filters.gallery.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jQuery(function($, undefined) {
if (ret) {
var rel = nm.opener.attr('rel'),
indexSpace = rel.indexOf(' '),
gal = indexSpace > 0 ? rel.substr(0, indexSpace) : rel
gal = indexSpace > 0 ? rel.substr(0, indexSpace) : rel,
links = $('[href][rel="'+gal+'"], [href][rel^="'+gal+' "]');
if (links.length < 2)
ret = false;
Expand Down

0 comments on commit 1b7000d

Please sign in to comment.