mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-26 16:08:15 +08:00
[desktop] fix bug 62648
This commit is contained in:
@ -1394,6 +1394,7 @@ define([
|
||||
me._isDocReady = true;
|
||||
this.hidePreloader();
|
||||
this.onLongActionEnd(Asc.c_oAscAsyncActionType['BlockInteraction'], LoadingDocument);
|
||||
Common.NotificationCenter.trigger('app:ready', this.appOptions);
|
||||
|
||||
var zf = (this.appOptions.customization && this.appOptions.customization.zoom ? parseInt(this.appOptions.customization.zoom) : 100);
|
||||
(zf == -1) ? this.api.zoomFitToPage() : ((zf == -2) ? this.api.zoomFitToWidth() : this.api.zoom(zf>0 ? zf : 100));
|
||||
|
||||
Reference in New Issue
Block a user