ux/Iscroll.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 15 Aug 2011 10:52:09 +0000 (18:52 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 15 Aug 2011 10:52:09 +0000 (18:52 +0800)
ux/Iscroll.js

index 7390cb1..a005b6f 100644 (file)
@@ -57,11 +57,11 @@ Roo.ux.iScroll = function (el, options) {
 
                that.wrapper = typeof el == 'object' ? el : doc.getElementById(el);
         
-        var wrap = Roo.get(that.wrapper.children[0]);
+        //var wrap = Roo.get(that.wrapper.children[0]);
         
         
                //that.wrapper.style.overflow = 'hidden';
-               that.scroller = wrap.wrap();
+               that.scroller = that.wrapper.children[0];
 
                // Default options
                that.options = {