bootstrap-validator
bootstrap-validator copied to clipboard
Errors null bug
When errors is null errors.length call is causing uncaught error. Fixed by adding check on errors and then calling the original errors.length.
I should have fix it as follows: if (errors && !errors.length) return