From e5fc568edd6a0791c038df1657c6ff7a6cc3fe21 Mon Sep 17 00:00:00 2001 From: Chris Harris Date: Wed, 25 Jan 2012 12:34:50 -0800 Subject: [PATCH] Fix for #49 ("Arrows keys in IE8...") Fixes the issue by taking kuroir's suggestion of preventing the default action. To be consistent with the rest of the code, we do this by returning false in the event handler. --- src/jquery.tokeninput.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jquery.tokeninput.js b/src/jquery.tokeninput.js index 1bb17724..e8106026 100644 --- a/src/jquery.tokeninput.js +++ b/src/jquery.tokeninput.js @@ -248,8 +248,8 @@ $.TokenList = function (input, url_or_data, settings) { if(dropdown_item.length) { select_dropdown_item(dropdown_item); } - return false; } + return false; break; case KEY.BACKSPACE: