Skip to content

Commit 56a82fb

Browse files
authored
Merge pull request #253 from onassar/master
Swapping `event.keyCode` out and `event.which` in.
2 parents aa37805 + 0725722 commit 56a82fb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

jquery.minicolors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1088,7 +1088,7 @@
10881088
.on('keydown.minicolors', '.minicolors-input', function(event) {
10891089
var input = $(this);
10901090
if(!input.data('minicolors-initialized')) return;
1091-
switch(event.keyCode) {
1091+
switch(event.which) {
10921092
case 9: // tab
10931093
hide();
10941094
break;

0 commit comments

Comments
 (0)