| Index: WebCore/html/HTMLAnchorElement.cpp
|
| ===================================================================
|
| --- WebCore/html/HTMLAnchorElement.cpp (revision 67262)
|
| +++ WebCore/html/HTMLAnchorElement.cpp (working copy)
|
| @@ -514,7 +514,7 @@
|
|
|
| bool isLinkClick(Event* event)
|
| {
|
| - return event->type() == eventNames().clickEvent && (!event->isMouseEvent() || static_cast<MouseEvent*>(event)->button() != RightButton);
|
| + return event->type() == eventNames().clickEvent || (event->type() == eventNames().mouseupEvent && isMiddleMouseButtonEvent(event));
|
| }
|
|
|
| void handleLinkClick(Event* event, Document* document, const String& url, const String& target, bool hideReferrer)
|
|
|