зеркало из https://github.com/mozilla/gecko-dev.git
Fixed bug in GetElementOrParentByTagname
This commit is contained in:
Родитель
2d07b9a72c
Коммит
89c5a45a40
|
@ -2010,7 +2010,7 @@ nsHTMLEditor::GetElementOrParentByTagName(const nsString &aTagName, nsIDOMNode *
|
|||
break;
|
||||
} else {
|
||||
nsAutoString currentTagName;
|
||||
aNode->GetNodeName(currentTagName);
|
||||
currentNode->GetNodeName(currentTagName);
|
||||
if (currentTagName.EqualsIgnoreCase(TagName))
|
||||
{
|
||||
bNodeFound = PR_TRUE;
|
||||
|
|
|
@ -2010,7 +2010,7 @@ nsHTMLEditor::GetElementOrParentByTagName(const nsString &aTagName, nsIDOMNode *
|
|||
break;
|
||||
} else {
|
||||
nsAutoString currentTagName;
|
||||
aNode->GetNodeName(currentTagName);
|
||||
currentNode->GetNodeName(currentTagName);
|
||||
if (currentTagName.EqualsIgnoreCase(TagName))
|
||||
{
|
||||
bNodeFound = PR_TRUE;
|
||||
|
|
Загрузка…
Ссылка в новой задаче