Fix a typo in my if statement.

git-svn-id: svn://10.0.0.236/trunk@145545 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
hyatt%mozilla.org
2003-08-04 18:46:05 +00:00
parent b141ded24f
commit 44d8dc2cd5

View File

@@ -3823,8 +3823,8 @@ function asyncOpenWebPanel(event)
if (linkNode) {
if (fieldNormalClicks && event.button == 0 && !event.ctrlKey && !event.shiftKey &&
!event.altKey && !event.metaKey &&
(!linkNode.getAttribute("target") || linkNode.getAttribute("target") == "_content") ||
linkNode.getAttribute("target") == "_main") // IE uses _main, SeaMonkey uses _content, we support both
(!linkNode.getAttribute("target") || linkNode.getAttribute("target") == "_content" ||
linkNode.getAttribute("target") == "_main")) // IE uses _main, SeaMonkey uses _content, we support both
{
var url = getShortcutOrURI(linkNode.href);
if (!url)