aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--demos/autocomplete/remote.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/demos/autocomplete/remote.html b/demos/autocomplete/remote.html
index 66c28e365..9fa4519cd 100644
--- a/demos/autocomplete/remote.html
+++ b/demos/autocomplete/remote.html
@@ -22,9 +22,7 @@
source: "search.php",
minLength: 2,
select: function( event, ui ) {
- log( ui.item ?
- "Selected: " + ui.item.value + " aka " + ui.item.id :
- "Nothing selected, input was " + this.value );
+ log( "Selected: " + ui.item.value + " aka " + ui.item.id );
}
});
</script>