first commit
This commit is contained in:
commit
8e0c8a1497
8 changed files with 380 additions and 0 deletions
10
it.to.work/scrollingElement.js
Normal file
10
it.to.work/scrollingElement.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
define(['jquery'], function($) {
|
||||
var scrollingElement = $(document);
|
||||
setTimeout(function() {
|
||||
if ($('#content').css('overflow') == 'scroll')
|
||||
scrollingElement = $('#content');
|
||||
}, 1000);
|
||||
|
||||
return scrollingElement;
|
||||
});
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue