瀏覽代碼

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