fix: Don't throw error if class is missing (fix #1254)

This commit is contained in:
Federico Zivolo 2017-12-10 18:50:13 +01:00
parent 92b1fb1697
commit c75f805a62

View File

@ -314,15 +314,6 @@ const BaseInput = ($ => {
} else if (this.$element.hasClass(requiredClass)) {
found = true;
}
// error if not found
if (!found) {
$.error(
`${this.constructor.name} element: ${Util.describe(
this.$element
)} requires class: ${requiredClass}`
);
}
}
}