Bug 63887

This commit is contained in:
OVSharova
2023-09-02 05:20:16 +03:00
parent 01877ec86c
commit d0afd9bd8a

View File

@ -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);
},