summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorQingping Hou <dave2008713@gmail.com>2013-05-12 11:59:41 -0400
committerQingping Hou <dave2008713@gmail.com>2013-05-12 11:59:41 -0400
commit8e4afafafea28c6fe5a2ce178638f75a6f2bd690 (patch)
tree5302ba996d4f8ff55416d69a6e81466c82e57575 /templates
parent98ed41bf68a19d2ee6186bfb6762851432359001 (diff)
add ng-cloak to prevent displaying not rendered templates
Diffstat (limited to 'templates')
-rw-r--r--templates/main.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/main.php b/templates/main.php
index f2a788243..232a00336 100644
--- a/templates/main.php
+++ b/templates/main.php
@@ -21,7 +21,7 @@
?>
-<div id="app" ng-app="News">
+<div id="app" ng-app="News" ng-cloak>
<div id="undo-container">
<div undo-notification id="undo">
<a href="#"><?php p($l->t('Undo deletion of %s', '{{ getCaption() }}')); ?></a>
@@ -49,11 +49,11 @@
loading: isLoading(),
autopaging: isAutoPaging()
}"
- ng-controller="ItemController"
+ ng-controller="ItemController"
news-item-scroll
item-shortcuts
tabindex="-1">
<?php print_unescaped($this->inc("part.items")); ?>
</div>
-
+
</div>