Skip to content

Commit

Permalink
doesn't specify a window id when trying to open new windows
Browse files Browse the repository at this point in the history
Using a null window-id when opening windows ensures that a new window is opened.

Fixes GH-72
  • Loading branch information
hrj committed Sep 13, 2015
1 parent 82f2ad4 commit 8bae532
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 8bae532

Please sign in to comment.