From 4aea64b95c261332bac2e3c49f1de81ed4e7831c Mon Sep 17 00:00:00 2001 From: Thomas Gries Date: Mon, 13 Jun 2011 09:56:54 +0000 Subject: [PATCH] essage=corrected my mistake when comparing if textbox length is empty, or not. --- resources/jquery/jquery.suggestions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/jquery/jquery.suggestions.js b/resources/jquery/jquery.suggestions.js index 8b0da23e5e..4c23b19616 100644 --- a/resources/jquery/jquery.suggestions.js +++ b/resources/jquery/jquery.suggestions.js @@ -82,7 +82,7 @@ $.suggestions = { } // clear result div if the value in the textbox is empty - if ( context.data.$textbox.val().length != 0 ) { + if ( context.data.$textbox.val().length == 0 ) { context.data.$container.hide(); } -- 2.20.1