Roo/bootstrap/UploadCropbox.js
authoredward <edward@roojs.com>
Fri, 29 Jan 2016 02:38:25 +0000 (10:38 +0800)
committeredward <edward@roojs.com>
Fri, 29 Jan 2016 02:38:25 +0000 (10:38 +0800)
Roo/bootstrap/UploadCropbox.js

index a64545f..9bcdc45 100644 (file)
@@ -193,13 +193,9 @@ Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component,  {
         
         if(!Roo.isTouch){
             this.imageSection.on('mousedown', this.onMouseDown, this);
-        
             this.imageSection.on('mousemove', this.onMouseMove, this);
-
             var mousewheel = (/Firefox/i.test(navigator.userAgent))? 'DOMMouseScroll' : 'mousewheel';
-
             this.imageSection.on(mousewheel, this.onMouseWheel, this);
-
             Roo.get(document).on('mouseup', this.onMouseUp, this);
         }