Merge "Don't replace user text with suggestion in searchbox"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Fri, 2 Jan 2015 11:26:34 +0000 (11:26 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Fri, 2 Jan 2015 11:26:34 +0000 (11:26 +0000)
resources/src/jquery/jquery.suggestions.js

index 3369cde..a83a70a 100644 (file)
@@ -474,8 +474,6 @@ $.suggestions = {
                                                }
                                        }
                                } else {
-                                       $.suggestions.highlight( context, selected, true );
-
                                        if ( typeof context.config.result.select === 'function' ) {
                                                // Allow the callback to decide whether to prevent default or not
                                                if ( context.config.result.select.call( selected, context.data.$textbox ) === true ) {