[DE] Fix Bug 37170

This commit is contained in:
Julia Radzhabova 2018-03-12 12:11:22 +03:00
parent f3aa2b4b32
commit eace54100d

View file

@ -568,6 +568,8 @@ define([
},
onApiPageSize: function(w, h) {
if (this._state.pgorient===undefined) return;
var width = this._state.pgorient ? w : h,
height = this._state.pgorient ? h : w;
if (Math.abs(this._state.pgsize[0] - w) > 0.01 ||