diff options
Diffstat (limited to 'embed')
-rw-r--r-- | embed/mozilla/EventContext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embed/mozilla/EventContext.cpp b/embed/mozilla/EventContext.cpp index 5f5f7e99d..1f7d27bd4 100644 --- a/embed/mozilla/EventContext.cpp +++ b/embed/mozilla/EventContext.cpp @@ -250,7 +250,7 @@ nsresult EventContext::GetEventContext (nsIDOMEventTarget *EventTarget, if ((nsIDOMNode::ELEMENT_NODE == type) && element) { nsEmbedString uTag; - rv = element->GetTagName(uTag); + rv = element->GetLocalName(uTag); if (NS_FAILED(rv)) return NS_ERROR_FAILURE; nsEmbedCString tag; @@ -379,7 +379,7 @@ nsresult EventContext::GetEventContext (nsIDOMEventTarget *EventTarget, if ((nsIDOMNode::ELEMENT_NODE == type) && element) { nsEmbedString uTag; - rv = element->GetTagName(uTag); + rv = element->GetLocalName(uTag); if (NS_FAILED(rv)) return NS_ERROR_FAILURE; nsEmbedCString tag; |