From 76d4a9ad1c111da10f3c06f3950e406209892f2a Mon Sep 17 00:00:00 2001 From: Greg Ross Date: Tue, 10 Jul 2018 02:32:44 -0400 Subject: [PATCH] Add ng-cloak support. (#256) * Add ng-cloak support. So that the template items aren't displayed until they are required. * Additional ng-cloak class. --- css/style.css | 3 +++ templates/main.php | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/css/style.css b/css/style.css index 43b0c52..049cde2 100644 --- a/css/style.css +++ b/css/style.css @@ -261,3 +261,6 @@ label { margin: 88px auto; } +[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak { + display: none !important; +} \ No newline at end of file diff --git a/templates/main.php b/templates/main.php index 04587e0..68af6b4 100644 --- a/templates/main.php +++ b/templates/main.php @@ -11,7 +11,7 @@ use \OCA\OcSms\Lib\CountryCodes;
-
-
+
-
@@ -81,7 +81,7 @@ use \OCA\OcSms\Lib\CountryCodes;
t('Please select a conversation from the list to load it.'));?>
-
+
{{ message.content }}