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

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'ncp-web/js/ncp.js')
-rw-r--r--ncp-web/js/ncp.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ncp-web/js/ncp.js b/ncp-web/js/ncp.js
index 0f5402e5..556bc90e 100644
--- a/ncp-web/js/ncp.js
+++ b/ncp-web/js/ncp.js
@@ -141,7 +141,7 @@ function reload_sidebar()
if ( ret.ret && ret.ret == '0' ) {
$('#ncp-options').ht( ret.output );
set_sidebar_click_handlers();
- if (selectedID)
+ if (selectedID && $$('#config-wrapper').style.display == 'block')
select_app($('#' + selectedID));
ncp_app_list = $('.ncp-app-list-item');