summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authornexus-uw <you@example.com>2019-03-14 04:10:17 +0000
committerSean Molenaar <SMillerDev@users.noreply.github.com>2019-03-14 06:22:11 +0100
commitfe35ba698fcc42b81f5362d9142163cfe6907af2 (patch)
treefb24963722199d8f48f44187077d5c7a3a8fe49b /templates
parent19c0a7d8b678927a326230bb9caf5754aa855094 (diff)
prevent raw angluar templates from flashing on page load
- when opening news app on lower end computer, the angular templates flash on the screen for about 1 second - angular directive doc: https://docs.angularjs.org/api/ng/directive/ngCloak
Diffstat (limited to 'templates')
-rw-r--r--templates/index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/index.php b/templates/index.php
index 1e95667c2..4b0408af1 100644
--- a/templates/index.php
+++ b/templates/index.php
@@ -27,6 +27,7 @@ foreach (Plugin::getScripts() as $appName => $fileName) {
<div id="global-loading"
class="icon-loading"
+ ngCloak
ng-show="App.loading.isLoading('global')"></div>
<!-- content -->