diff --git a/src/components/app/app.ts b/src/components/app/app.ts index 895b94ae22..8a621e5eba 100644 --- a/src/components/app/app.ts +++ b/src/components/app/app.ts @@ -71,7 +71,7 @@ export class App { // listen for hardware back button events // register this back button action with a default priority _platform.registerBackButtonAction(this.navPop.bind(this)); - this._canDisableScroll = this._config.get('canDisableScroll', true); + this._canDisableScroll = _config.get('canDisableScroll', true); } /** diff --git a/src/config/config.ts b/src/config/config.ts index e541d31804..514a187aef 100644 --- a/src/config/config.ts +++ b/src/config/config.ts @@ -127,7 +127,7 @@ import { isObject, isDefined, isFunction, isArray } from '../util/util'; **/ export class Config { private _c: any = {}; - private _s: any; + private _s: any = {}; private _qp: QueryParams; private _modes: any = {}; private _trns: any = {};