[SSE] Fix bug with updating zoom value in the toolbar menu when editor is loading.

This commit is contained in:
Julia Radzhabova 2016-09-02 15:51:53 +03:00
parent a84fd57c3d
commit a731a62c55

View file

@ -1449,7 +1449,7 @@ define([
case 2: // FitPage
case 0:
default: {
this.toolbar.mnuZoom.options.value = percent;
this.toolbar.mnuZoom.options.value = Math.floor((zf + .005) * 100);
$('.menu-zoom .zoom', this.toolbar.el).html(Math.floor((zf + .005) * 100) + '%');
}
}