Skip to content

Commit 732007d

Browse files
committed
Merge branch '4.1'
2 parents 2bceb6a + 3160574 commit 732007d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

main.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -4004,7 +4004,7 @@ static GtkWidget *createcb(Win *win)
40044004
char *handle = getset(win, "newwinhandle");
40054005

40064006
if (!g_strcmp0(handle, "notnew"))
4007-
if (win->link)
4007+
if (win->link && !g_str_has_prefix(win->link, "javascript:"))
40084008
{
40094009
showmsg(win, "Create window is canceled");
40104010
openuri(win, win->link);
@@ -4553,6 +4553,7 @@ Win *newwin(const char *uri, Win *cbwin, Win *caller, int back)
45534553

45544554
if (back != 2)
45554555
gtk_widget_show(win->winw);
4556+
gdk_flush();
45564557

45574558
SIGW(win->wino, plugto ? "configure-event":"focus-in-event", focuscb, win);
45584559

0 commit comments

Comments
 (0)