aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2016-09-01 15:56:29 -0400
committerScott González <scott.gonzalez@gmail.com>2016-09-01 15:56:29 -0400
commitfd81307dd98070a11c6dc48f4f62e832c4c0530f (patch)
treee0feb0c5a4d691eb66fa4fc20cf5a245b0333898
parent930934f4d22ce4397bcc85cde33c32acef2ec622 (diff)
downloadjquery-ui-fd81307dd98070a11c6dc48f4f62e832c4c0530f.tar.gz
jquery-ui-fd81307dd98070a11c6dc48f4f62e832c4c0530f.zip
Autocomplete: Remove unreachable code in remote demo
-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>