зеркало из https://github.com/mozilla/gecko-dev.git
Fixed some bugs in key listeners
This commit is contained in:
Родитель
12d2ec1551
Коммит
7778cde62f
|
@ -288,9 +288,9 @@ nsresult nsXULKeyListenerImpl::KeyPress(nsIDOMEvent* aKeyEvent)
|
|||
|
||||
// Test Alt attribute
|
||||
PRBool isAlt = PR_FALSE;
|
||||
theEvent->GetShiftKey(&isAlt);
|
||||
// if (isAlt && (modAlt != "true"))
|
||||
// break;
|
||||
theEvent->GetAltKey(&isAlt);
|
||||
if (isAlt && (modAlt != "true"))
|
||||
break;
|
||||
|
||||
// Modifier tests passed so execute onclick command
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче