Skip to content
This repository has been archived by the owner on Jul 19, 2018. It is now read-only.

Commit

Permalink
fixed an issue when data-lightbox parameter only consists of numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
fritzmg committed Jun 9, 2015
1 parent 1021d0b commit 70d6637
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function initMagnificPopup( options )
var $group = $('a[data-lightbox="'+group+'"]');

// parse the group name
var names = group.split(' ');
var names = group.toString().split(' ');
var width = null;
var height = null;
$.each( names, function( index, name )
Expand Down

0 comments on commit 70d6637

Please sign in to comment.