Fixed none working open hints in new window (#74).
authorDaniel Carl <danielcarl@gmx.de>
Wed, 2 Apr 2014 07:45:39 +0000 (09:45 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Wed, 2 Apr 2014 07:45:39 +0000 (09:45 +0200)
commitcdd1aec506ffd7089b8c708e0b8ecac9e4769a85
tree6419a9f7aba869eaa975ba31e65c3cfbda1ed73a
parent1e1992da42d2ef14d08270fc8217f7050d474df0
Fixed none working open hints in new window (#74).

There is already a hack to allow the hinting JavaScript to open a page also in
a new window without user interaction (hinting in no user interaction in the
manner of webkit). To allow to open hints into new window the webkit setting
'javascript-can-open-windows-automatically' is enabled. After fireing a hint,
this is set back to it's initial value. But this seemed to be to early, what
means we potentially disabled to open page in new window right before the new
window was created.
This patch moved the resetting of the option into the clear function, that
should be late enough.
src/hints.c