Merge pull request #2050 from ONLYOFFICE/fix/bug-59704

Fix bug-59704
This commit is contained in:
Julia Radzhabova 2022-11-14 15:25:03 +03:00 committed by GitHub
commit cedbefce78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -101,7 +101,7 @@ define([
disableTextBoxButton: function(textboxEl) {
var button = $(textboxEl.siblings('#id-comments-change')[0]);
if(textboxEl.val().trime().length > 0) {
if(textboxEl.val().trim().length > 0) {
button.removeAttr('disabled');
button.removeClass('disabled');
} else {