소스 검색

Use ng-if to switch between pdf and editor

Chrystal Griffiths 8 년 전
부모
커밋
d51549c4f0
1개의 변경된 파일과 1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      services/web/app/views/project/editor/editor.pug

+ 1 - 2
services/web/app/views/project/editor/editor.pug

@@ -102,7 +102,6 @@ div.full-size(
 		)
 			i.synctex-control-icon
 div.full-size(
-	ng-if="ui.pdfLayout == 'flat'"
-	ng-show="ui.view == 'pdf'"
+	ng-if="ui.pdfLayout == 'flat' && ui.view == 'pdf'"
 )
 	include ./pdf