mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 03:19:32 +08:00
Bug 63887
This commit is contained in:
@ -126,7 +126,7 @@ define([
|
||||
|
||||
onAppReady: function (config) {
|
||||
var me = this;
|
||||
|
||||
me._isDocReady = true;
|
||||
(new Promise(function(resolve) {
|
||||
resolve();
|
||||
})).then(function () {
|
||||
@ -248,8 +248,8 @@ define([
|
||||
_onZoomChange: function(percent, type) {
|
||||
this.statusbar.btnZoomToPage.toggle(type == 2, true);
|
||||
this.statusbar.btnZoomToWidth.toggle(type == 1, true);
|
||||
|
||||
$('.statusbar #label-zoom').text(Common.Utils.String.format(this.zoomText, percent));
|
||||
if(!this._isDocReady) return;
|
||||
Common.localStorage.setItem('de-last-zoom', percent);
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user