Skip to content

Commit fd81307

Browse files
committed
Autocomplete: Remove unreachable code in remote demo
1 parent 930934f commit fd81307

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

demos/autocomplete/remote.html

+1-3
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@
2222
source: "search.php",
2323
minLength: 2,
2424
select: function( event, ui ) {
25-
log( ui.item ?
26-
"Selected: " + ui.item.value + " aka " + ui.item.id :
27-
"Nothing selected, input was " + this.value );
25+
log( "Selected: " + ui.item.value + " aka " + ui.item.id );
2826
}
2927
});
3028
</script>

0 commit comments

Comments
 (0)