J. Ryan Stinnett f2da833ac9 Fix validation to avoid undefined class on fields
The class name handling for validation inadvertently added `undefined` as a
class when validation is not used. This rearranges the logic to avoid the issue.

Fixes https://github.com/vector-im/riot-web/issues/9345
2019-04-09 16:10:36 +01:00
..
2019-01-21 18:41:49 -07:00
2019-03-12 14:02:54 +00:00
2019-01-29 15:34:58 +01:00
2018-10-26 22:50:38 -05:00
2019-02-08 14:57:36 +00:00
2019-04-04 09:36:45 -06:00
2019-02-14 13:30:03 +01:00
2018-10-26 22:50:38 -05:00
2019-01-07 09:56:40 -06:00
2019-04-04 10:30:23 +01:00
2019-03-12 14:02:54 +00:00
2018-10-26 22:50:38 -05:00
2019-03-12 14:02:54 +00:00
2019-03-12 14:02:54 +00:00