Fix bug
This commit is contained in:
parent
e0e90225fc
commit
88363e0d1c
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue