Skip to content

Commit

Permalink
Ooops.
Browse files Browse the repository at this point in the history
  • Loading branch information
cheesegrits committed Jun 8, 2016
1 parent 2dbf277 commit 9ccf63d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion media/com_fabrik/js/dist/window.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion media/com_fabrik/js/window.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ define(['jquery', 'fab/fabrik', 'jQueryUI', 'fab/utils'], function (jQuery, Fabr

yy = window.getSize().y / 2 - (h / 2);

if ( jQuery.inArray(jQuery(source).css('position'),['fixed','static']) !== -1) {
if ( jQuery.inArray(jQuery(source).css('position'),['fixed','static']) === -1) {
yy += window.getScroll().y;
}
//yy = (window.getSize().y / 2) - (h / 2);
Expand Down

0 comments on commit 9ccf63d

Please sign in to comment.