x-team/wp-widget-customizer — pull request #72 by knishiura-lab (2014-01-12 12:45:20+00:00)
Title: Bugfix for handling keypress for available widgets

It intended that user can walk through available widgets (middle column in screenshot) by pressing up and down key. Thus, when user hit those keys, selection shoudn't be submit. There was bug in this condition check, and tshis PR fix it.

Tested on Firefox on Ubuntu. On Chrome, both new and old code works for whatever reason.

![available-widget](https://f.cloud.github.com/assets/2943548/1896183/f56046f4-7b86-11e3-888a-813198e84f1a.png)