Bug #279191 ---> only invoke the phishing detector for left clicks not right clicks...

This commit is contained in:
scott%scott-macgregor.org 2005-01-23 09:02:40 +00:00
Родитель e20fafca39
Коммит 30091d1a3a
1 изменённых файлов: 3 добавлений и 2 удалений

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

@ -91,10 +91,11 @@
if (linkNode && linkNode.href)
{
handleLinkClick(event, linkNode.href, null);
// block the link click if we determine that this URL
// is phishy (i.e. a potential email scam)
return !isPhishingURL(linkNode, false);
if (!event.button) // left click only
return !isPhishingURL(linkNode, false);
}
return true;