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