Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
#28 prevent default tab event on choosing an item using the tab key (#29
Browse files Browse the repository at this point in the history
)

* #28 prevent default tab event on choosing an item using the tab key

* #28 target the proper event
  • Loading branch information
alexpunct authored and jbate committed Jun 8, 2017
1 parent 399253c commit 92759df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dist/js/contact-data-services.js
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ ContactDataServices.address = function(customOptions){
e = e.which || e.keyCode;
if (e === 9 /*Tab*/) {
instance.picklist.keyup(e);
event.preventDefault();
return;
}
};
Expand Down

0 comments on commit 92759df

Please sign in to comment.