From a6114d7a79f5e7217331fa1273a22cba81ec8723 Mon Sep 17 00:00:00 2001 From: MagicSux Date: Wed, 29 Oct 2014 01:52:58 +0100 Subject: [PATCH] skip keydown validation on tab key Since tab key triggers the blur event, skip it. It's not a keydown event that needs to be triggered. --- js/foundation/foundation.abide.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/foundation/foundation.abide.js b/js/foundation/foundation.abide.js index 59f0d069e..e1203c448 100644 --- a/js/foundation/foundation.abide.js +++ b/js/foundation/foundation.abide.js @@ -82,7 +82,7 @@ self.validate([this], e); }) .on('keydown.fndtn.abide', function (e) { - if (settings.live_validate === true) { + if (settings.live_validate === true && e.which != 9) { clearTimeout(self.timer); self.timer = setTimeout(function () { self.validate([this], e); -- 2.47.2