Эх сурвалжийг харах

[oozie] Remove autoscroll

Enrico Berti 11 жил өмнө
parent
commit
857a7930f2

+ 1 - 5
apps/oozie/src/oozie/templates/editor/workflow_editor.mako

@@ -1686,11 +1686,7 @@ ${ dashboard.import_bindings() }
         });
         _el.animate({
           "width": _width < $(window).width()/2 ? $(window).width()/2 : _width
-        }, 200, function () {
-          if ($(document).width() > $(window).width()) {
-            $(document).scrollLeft($(document).width() - $(window).width());
-          }
-        });
+        }, 200);
         _el.find(".prop-editor").show();
 
         $("#exposeOverlay").fadeIn(300);