зеркало из 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
|
// Test Alt attribute
|
||||||
PRBool isAlt = PR_FALSE;
|
PRBool isAlt = PR_FALSE;
|
||||||
theEvent->GetShiftKey(&isAlt);
|
theEvent->GetAltKey(&isAlt);
|
||||||
// if (isAlt && (modAlt != "true"))
|
if (isAlt && (modAlt != "true"))
|
||||||
// break;
|
break;
|
||||||
|
|
||||||
// Modifier tests passed so execute onclick command
|
// Modifier tests passed so execute onclick command
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче