From 26fc54a1f54838c5b314efb4a6d4fd559b286e2b Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Sun, 9 Dec 2018 01:40:32 +0300 Subject: [PATCH] Remove warning --- src/components/listbox/ListBox.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/listbox/ListBox.vue b/src/components/listbox/ListBox.vue index b4cba7cd6..c9f92478a 100644 --- a/src/components/listbox/ListBox.vue +++ b/src/components/listbox/ListBox.vue @@ -166,7 +166,7 @@ export default { switch (event.which) { //up arrow case 40: - let nextItem = this.findNextItem(item); + var nextItem = this.findNextItem(item); if(nextItem) { nextItem.focus(); } @@ -176,7 +176,7 @@ export default { //down arrow case 38: - let prevItem = this.findPrevItem(item); + var prevItem = this.findPrevItem(item); if(prevItem) { prevItem.focus(); }