Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/passman.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js/app
diff options
context:
space:
mode:
authorfnuesse <felix.nuesse@t-online.de>2018-11-26 00:59:01 +0300
committerfnuesse <felix.nuesse@t-online.de>2018-11-26 00:59:01 +0300
commit04596442e8cc5982c3f529f53af41a5868a6896b (patch)
treec74c89c5376263020441c1c73e6f81cf1fc298e6 /js/app
parent02dfbdcf6ebe168e37977d2a4552fd50cbef8f1e (diff)
Removed Flashing of uninitialized html-layouts
Signed-off-by: fnuesse <felix.nuesse@t-online.de>
Diffstat (limited to 'js/app')
-rw-r--r--js/app/controllers/main.js4
-rw-r--r--js/app/controllers/menu.js4
2 files changed, 8 insertions, 0 deletions
diff --git a/js/app/controllers/main.js b/js/app/controllers/main.js
index c122501c..3f894ec2 100644
--- a/js/app/controllers/main.js
+++ b/js/app/controllers/main.js
@@ -41,6 +41,10 @@
}
+ $scope.removeHiddenStyles = function(){
+ document.getElementById('warning_bar').classList.remove('hidden');
+ };
+
$rootScope.$on('settings_loaded', function(){
if (SettingsService.isEnabled('disable_contextmenu')) {
document.addEventListener('contextmenu', function (event) {
diff --git a/js/app/controllers/menu.js b/js/app/controllers/menu.js
index 312e9a7b..64a0fb2d 100644
--- a/js/app/controllers/menu.js
+++ b/js/app/controllers/menu.js
@@ -42,6 +42,10 @@
$location.path('/');
};
+ $scope.removeHiddenStyles = function(){
+ document.getElementById('app-navigation').classList.remove('hidden');
+ };
+
$scope.selectedTags = [];
$scope.getTags = function ($query) {
return TagService.searchTag($query);