fixing small optimization oversight. based on pixleys code that was beta2+. optimization is not valid in this case. r=churchill

This commit is contained in:
mjudge%netscape.com 2000-06-01 01:03:48 +00:00
Родитель 4870a516ec
Коммит 6c9a6ed3ce
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -106,14 +106,14 @@ nsresult nsJSEventListener::HandleEvent(nsIDOMEvent* aEvent)
//JS can't handle this event yet or can't handle it at all
return NS_OK;
}
if (mReturnResult == nsReturnResult_eNotSet) {
//if (mReturnResult == nsReturnResult_eNotSet) {
if (eventString.EqualsWithConversion("error") || eventString.EqualsWithConversion("mouseover")) {
mReturnResult = nsReturnResult_eReverseReturnResult;
}
else {
mReturnResult = nsReturnResult_eDoNotReverseReturnResult;
}
}
//}
eventString.InsertWithConversion("on", 0, 2);
}
else {