projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c7fade
)
ux/Iscroll.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 15 Aug 2011 10:58:33 +0000
(18:58 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 15 Aug 2011 10:58:33 +0000
(18:58 +0800)
ux/Iscroll.js
patch
|
blob
|
history
diff --git
a/ux/Iscroll.js
b/ux/Iscroll.js
index
a005b6f
..
12b257d
100644
(file)
--- a/
ux/Iscroll.js
+++ b/
ux/Iscroll.js
@@
-55,13
+55,14
@@
Roo.ux.iScroll = function (el, options) {
doc = document,
i;
- that.wrapper = typeof el == 'object' ? el : doc.getElementById(el);
+
+ that.wrapper = typeof el == 'object' ? el : doc.getElementById(el);
+
+ that.wrapper.style.overflow = 'hidden';
+ that.scroller = that.wrapper.children[0];
- //var wrap = Roo.get(that.wrapper.children[0]);
- //that.wrapper.style.overflow = 'hidden';
- that.scroller = that.wrapper.children[0];
// Default options
that.options = {