Fix :follow-selected --tab
This commit is contained in:
parent
fe3c748e44
commit
9195e6a3a7
@ -315,7 +315,7 @@ class WebKitCaret(browsertab.AbstractCaret):
|
||||
if QWebSettings.globalSettings().testAttribute(
|
||||
QWebSettings.JavascriptEnabled):
|
||||
if tab:
|
||||
self._widget.page().open_target = usertypes.ClickTarget.tab
|
||||
self._tab.data.open_target = usertypes.ClickTarget.tab
|
||||
self._tab.run_js_async(
|
||||
'window.getSelection().anchorNode.parentNode.click()')
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user