Forráskód Böngészése

HUE-6290 [editor] Remove scroll up if embedded

Enrico Berti 8 éve
szülő
commit
c62a448

+ 2 - 1
desktop/libs/notebook/src/notebook/templates/editor_components.mako

@@ -2830,8 +2830,9 @@ from notebook.conf import ENABLE_QUERY_BUILDER, ENABLE_QUERY_SCHEDULING, ENABLE_
       } else {
         renderer();
       }
-
+      %if not is_embeddable:
       $(MAIN_SCROLLABLE).jHueScrollUp();
+      %endif
     };
 
     var splitDraggableTimeout = -1;