event.metaKey should be ctrl key, patch jquery

This commit is contained in:
j 2012-01-28 15:42:12 +05:30
parent ed4f7f0c2d
commit 46e10fb81b
2 changed files with 3 additions and 3 deletions

View file

@ -3349,7 +3349,7 @@ jQuery.event = {
}
// For mouse/key events; add metaKey if it's not there (#3368, IE6/7/8)
if ( event.metaKey === undefined ) {
if ( !event.metaKey && event.ctrlKey ) {
event.metaKey = event.ctrlKey;
}

File diff suppressed because one or more lines are too long