[DE mobile] fix Bug 32492

This commit is contained in:
Julia Radzhabova 2016-05-24 13:41:18 +03:00
parent 792810c671
commit af393af4ea

View file

@ -157,11 +157,13 @@ Ext.define('DE.controller.Main', {
}, },
onDocumentContentReady: function() { onDocumentContentReady: function() {
if (this._isReady) return;
this._isReady = true;
if (this.api) { if (this.api) {
this.api.Resize(); this.api.Resize();
this.api.zoomFitToWidth(); this.api.zoomFitToWidth();
} }
this._hideLoadSplash(); this._hideLoadSplash();
Common.component.Analytics.trackEvent('Load', 'Complete'); Common.component.Analytics.trackEvent('Load', 'Complete');