Index: trunk/extensions/UsabilityInitiative/js/plugins/jquery.suggestions.js |
— | — | @@ -263,7 +263,7 @@ |
264 | 264 | function highlightResult( result, updateTextbox ) { |
265 | 265 | // TODO: Use our own class here |
266 | 266 | var selected = getHighlightedRow(); |
267 | | - if ( selected.get( 0 ) != result.get( 0 ) ) { |
| 267 | + if ( !result.get || selected.get( 0 ) != result.get( 0 ) ) { |
268 | 268 | if ( result == 'prev' ) { |
269 | 269 | result = selected.prev(); |
270 | 270 | } else if ( result == 'next' ) { |