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(
|
if QWebSettings.globalSettings().testAttribute(
|
||||||
QWebSettings.JavascriptEnabled):
|
QWebSettings.JavascriptEnabled):
|
||||||
if tab:
|
if tab:
|
||||||
self._widget.page().open_target = usertypes.ClickTarget.tab
|
self._tab.data.open_target = usertypes.ClickTarget.tab
|
||||||
self._tab.run_js_async(
|
self._tab.run_js_async(
|
||||||
'window.getSelection().anchorNode.parentNode.click()')
|
'window.getSelection().anchorNode.parentNode.click()')
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user