Permalink
Browse files

Refactor `position: fixed` support retrieval in helpers.overlay.befor…

…eShow()
  • Loading branch information...
1 parent 3455694 commit d55178ad061807cc9e9d9b281df84f0553801f64 @samuelvogel samuelvogel committed May 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 source/jquery.fancybox.js
@@ -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 {

0 comments on commit d55178a

Please sign in to comment.