Bug 359541 - 'View Selection Source' broken.

This commit is contained in:
mozilla.mano%sent.com 2006-11-04 22:54:12 +00:00
Родитель 437d16e63e
Коммит e2a7fbac5e
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -665,9 +665,9 @@ nsContextMenu.prototype = {
// are mutually exclusive, with the precedence given to the selection
// when there is one
var reference = null;
if (context == "selection")
if (aContext == "selection")
reference = focusedWindow.getSelection();
else if (context == "mathml")
else if (aContext == "mathml")
reference = this.target;
else
throw "not reached";