소스 검색

HUE-6290 [editor] Remove scroll up if embedded

Enrico Berti 8 년 전
부모
커밋
c62a4481bb
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      desktop/libs/notebook/src/notebook/templates/editor_components.mako

+ 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;