From 61fd6c97badea7ff92dc77bd903aa7bb3e338307 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Fri, 27 Jan 2012 15:56:13 +0100 Subject: [PATCH] mshtml: Added support for middle-button opening anchors in a new window. --- dlls/mshtml/htmlanchor.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/mshtml/htmlanchor.c b/dlls/mshtml/htmlanchor.c index 9e9f3697f7c..27d39e36df9 100644 --- a/dlls/mshtml/htmlanchor.c +++ b/dlls/mshtml/htmlanchor.c @@ -642,6 +642,9 @@ static HRESULT HTMLAnchorElement_handle_event(HTMLDOMNode *iface, eventid_t eid, case 0: *prevent_default = TRUE; return navigate_anchor(This); + case 1: + *prevent_default = TRUE; + return navigate_anchor_window(This, NULL); default: *prevent_default = FALSE; return S_OK;