Explorar o código

Use ng-if to switch between pdf and editor

Chrystal Griffiths %!s(int64=8) %!d(string=hai) anos
pai
achega
d51549c4f0
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  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