diff options
-rw-r--r-- | surf.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1698,8 +1698,7 @@ decidenavigation(WebKitPolicyDecision *d, Client *c) case WEBKIT_NAVIGATION_TYPE_OTHER: /* fallthrough */ default: /* Do not navigate to links with a "_blank" target (popup) */ - if (webkit_navigation_policy_decision_get_frame_name( - WEBKIT_NAVIGATION_POLICY_DECISION(d))) { + if (webkit_navigation_action_get_frame_name(a)) { webkit_policy_decision_ignore(d); } else { /* Filter out navigation to different domain ? */ |