From fd81307dd98070a11c6dc48f4f62e832c4c0530f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Thu, 1 Sep 2016 15:56:29 -0400 Subject: [PATCH] Autocomplete: Remove unreachable code in remote demo --- demos/autocomplete/remote.html | 4 +--- 1 file changed, 1 insertion(+), 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 ); } }); -- 2.39.5