Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.

Commit

Permalink
Refactor position: fixed support retrieval in helpers.overlay.befor…
Browse files Browse the repository at this point in the history
…eShow()
  • Loading branch information
Samuel Vogel committed May 24, 2012
1 parent 3455694 commit d55178a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/jquery.fancybox.js
Expand Up @@ -1616,7 +1616,7 @@
overlay.bind('click.fb', F.close);
}

if (F.current.fixed && !isTouch) {
if (F.opts.fixed && !isTouch) {
overlay.addClass('overlay-fixed');

} else {
Expand Down

0 comments on commit d55178a

Please sign in to comment.