Skip to content

Commit

Permalink
Fixing scrolltop for popups
Browse files Browse the repository at this point in the history
  • Loading branch information
cheesegrits committed May 30, 2016
1 parent 6bac87c commit 1cb75ac
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 @@ -513,7 +513,7 @@ define(['jquery', 'fab/fabrik', 'jQueryUI', 'fab/utils'], function (jQuery, Fabr
}
if (!this.options.offset_y && scroll) {
//new Fx.Scroll(window).toElement(this.window);
jQuery('body').scrollTop(this.window);
jQuery('body').scrollTop(this.window.offset().top);
}
},

Expand Down

0 comments on commit 1cb75ac

Please sign in to comment.