Roo/bootstrap/panel/Content.js
authorAlan Knowles <alan@roojs.com>
Fri, 14 Jul 2017 02:11:32 +0000 (10:11 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 14 Jul 2017 02:11:32 +0000 (10:11 +0800)
Roo/bootstrap/panel/Content.js

index 29aa00b..1d4a069 100644 (file)
@@ -162,10 +162,10 @@ Roo.bootstrap.panel.Content = function( config){
         this.resizeEl.setStyle("overflow", "auto");
     } else {
         // fix randome scrolling
-        this.el.on('scroll', function() {
-            Roo.log('fix random scolling');
-            this.scrollTo('top',0); 
-        });
+        //this.el.on('scroll', function() {
+        //    Roo.log('fix random scolling');
+        //    this.scrollTo('top',0); 
+        //});
     }
     content = content || this.content;
     if(content){