r55530 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r55529‎ | r55530 | r55531 >
Date:17:46, 23 August 2009
Author:catrope
Status:deferred
Tags:
Comment:
UsabilityInitiative: unbreak up and down arrows in jquery.suggestions.js
Modified paths:
  • /trunk/extensions/UsabilityInitiative/js/plugins/jquery.suggestions.js (modified) (history)

Diff [purge]

Index: trunk/extensions/UsabilityInitiative/js/plugins/jquery.suggestions.js
@@ -263,7 +263,7 @@
264264 function highlightResult( result, updateTextbox ) {
265265 // TODO: Use our own class here
266266 var selected = getHighlightedRow();
267 - if ( selected.get( 0 ) != result.get( 0 ) ) {
 267+ if ( !result.get || selected.get( 0 ) != result.get( 0 ) ) {
268268 if ( result == 'prev' ) {
269269 result = selected.prev();
270270 } else if ( result == 'next' ) {

Status & tagging log