Remove error class when no more message errors
// FREEBIE
This commit is contained in:
parent
ae25d62ef2
commit
4cc7a30107
1 changed files with 2 additions and 0 deletions
|
@ -39,6 +39,8 @@
|
||||||
if (this.model.isIncoming()) {
|
if (this.model.isIncoming()) {
|
||||||
this.$('.content').text(this.model.getDescription()).addClass('error-message');
|
this.$('.content').text(this.model.getDescription()).addClass('error-message');
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
this.$el.removeClass('error');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
renderControl: function() {
|
renderControl: function() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue