Fixed some bugs in key listeners

This commit is contained in:
saari%netscape.com 1999-06-14 22:06:50 +00:00
Родитель 12d2ec1551
Коммит 7778cde62f
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -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