From 942ed5b8b71f77af8a08ccb8d93082a9a2982b30 Mon Sep 17 00:00:00 2001 From: Mathieu Rosser Date: Mon, 29 Jun 2015 14:48:38 +0200 Subject: [PATCH] Input event to detect autocompletion --- floatlabels.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/floatlabels.js b/floatlabels.js index 4ab6dd2..cf58372 100644 --- a/floatlabels.js +++ b/floatlabels.js @@ -75,7 +75,7 @@ if( !settings.slideInput ) { thisElement.css({ 'padding-top' : this.inputPaddingTop }); } - thisElement.on('keyup blur change', function( e ) { + thisElement.on('keyup blur change input', function( e ) { self.checkValue( e ); }); thisElement.on('blur', function() { thisElement.prev('label').css({ 'color' : self.settings.blurColor }); });