Skip to content

Commit

Permalink
Fix for #49 ("Arrows keys in IE8...")
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ryguasu committed Jan 25, 2012
1 parent 526a22e commit e5fc568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jquery.tokeninput.js
Expand Up @@ -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:
Expand Down

0 comments on commit e5fc568

Please sign in to comment.