Skip to content

Commit

Permalink
Update jquery.fancybox.js
Browse files Browse the repository at this point in the history
  • Loading branch information
matthendrix committed Nov 21, 2014
1 parent 9102574 commit 619449b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/jquery.fancybox.js
Original file line number Diff line number Diff line change
Expand Up @@ -1719,7 +1719,7 @@

parent = F.coming ? F.coming.parent : opts.parent;

this.overlay = $('<div class="fancybox-overlay"></div>').appendTo( parent && parent.lenth ? parent : 'body' );
this.overlay = $('<div class="fancybox-overlay"></div>').appendTo( parent && parent.length ? parent : 'body' );
this.fixed = false;

if (opts.fixed && F.defaults.fixed) {
Expand Down

0 comments on commit 619449b

Please sign in to comment.