Merge pull request #1998 from ONLYOFFICE/fix/inputBug

Refactoring. Fix bug with preventing composition input.
This commit is contained in:
Julia Radzhabova 2022-10-10 23:57:03 +03:00 committed by GitHub
commit 8ac5578200
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -364,8 +364,10 @@ define([
},
onCountPages: function(count) {
maxPages = count;
$('#pages').text(this.textOf + " " + count);
if (maxPages !== count) {
maxPages = count;
$('#pages').text(this.textOf + " " + count);
}
},
onCurrentPage: function(number) {