From 8bae532265bce4522cd91bf7002e67c83a069e47 Mon Sep 17 00:00:00 2001 From: hrj Date: Sun, 13 Sep 2015 11:44:36 +0530 Subject: [PATCH] doesn't specify a window id when trying to open new windows Using a null window-id when opening windows ensures that a new window is opened. Fixes GH-72 --- .../primary/clientlets/html/HtmlRendererContextImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Primary_Extension/org/lobobrowser/primary/clientlets/html/HtmlRendererContextImpl.java b/src/Primary_Extension/org/lobobrowser/primary/clientlets/html/HtmlRendererContextImpl.java index 86c52ecb..12bc1b6b 100644 --- a/src/Primary_Extension/org/lobobrowser/primary/clientlets/html/HtmlRendererContextImpl.java +++ b/src/Primary_Extension/org/lobobrowser/primary/clientlets/html/HtmlRendererContextImpl.java @@ -339,7 +339,7 @@ private Runnable getMiddleClickTask(final Node element) { if (currElement instanceof HTMLLinkElementImpl) { final HTMLLinkElementImpl link = (HTMLLinkElementImpl) currElement; task = (() -> { - HtmlRendererContextImpl.this.open(link.getAbsoluteHref(), "new window", null, false); + HtmlRendererContextImpl.this.open(link.getAbsoluteHref(), null, null, false); }); } else if (currElement instanceof HTMLImageElementImpl) {