diff --git a/demos/autocomplete/combobox.html b/demos/autocomplete/combobox.html
index f89f260ebc..69be702206 100644
--- a/demos/autocomplete/combobox.html
+++ b/demos/autocomplete/combobox.html
@@ -76,7 +76,8 @@
},
_createShowAllButton: function() {
- var wasOpen = false;
+ var input = this.input,
+ wasOpen = false;
$( "" )
.attr( "tabIndex", -1 )