From a660c03f9732e2e656340d6a57e678d94a693915 Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 21 Nov 2017 17:42:50 +0100 Subject: [PATCH] Fix scrollbar in the debug app --- www/debug/app-debug.less | 1 + www/debug/inner.js | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/www/debug/app-debug.less b/www/debug/app-debug.less index b7c6b009e..da305f120 100644 --- a/www/debug/app-debug.less +++ b/www/debug/app-debug.less @@ -20,6 +20,7 @@ #cp-app-debug { flex: 1; display: flex; + min-height: 0; } #cp-app-debug-content { flex: 1; diff --git a/www/debug/inner.js b/www/debug/inner.js index 4f68d2969..f45670b41 100644 --- a/www/debug/inner.js +++ b/www/debug/inner.js @@ -39,7 +39,8 @@ define([ $: $, AppConfig: AppConfig, SFCommon: SFCommon, - Crypto: Crypto + Crypto: Crypto, + ApiConfig: ApiConfig }; var toolbar; @@ -167,8 +168,8 @@ define([ console.log('onConnectionChange', info.state); }; - cpNfInner = common.startRealtime(config); - metadataMgr = cpNfInner.metadataMgr; + cpNfInner = APP.cpNfInner = common.startRealtime(config); + metadataMgr = APP.metadataMgr = cpNfInner.metadataMgr; cpNfInner.onInfiniteSpinner(function () { console.error('infinite spinner');