Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ($scrollPane.scrollTop() + magicNumber < $scrollPane.children().height()) {
- $bottomGradient.show();
- }
- if ($table.height() > $scrollPane.height()) {
- // increase width of scrollpane to fit scrollbar in view without moving content
- $scrollPane.addClass('has-scrollbar');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement