From 60cdede33b135666f239ec7edf7addfc85641be2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Tue, 16 Feb 2016 19:03:08 +0100 Subject: [PATCH] typo --- live-form-validation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/live-form-validation.js b/live-form-validation.js index 50e5a1d..087580c 100644 --- a/live-form-validation.js +++ b/live-form-validation.js @@ -278,7 +278,7 @@ LiveForm.getMessageElement = function(el) { LiveForm.getMessageParent = function(el) { var parentEl = el.parentNode; - if (this.options.messageParentClass !== false { + if (this.options.messageParentClass !== false) { while (!this.hasClass(parentEl, this.options.messageParentClass)) { parentEl = parentEl.parentNode;