Fixed for relative url.
This commit is contained in:
parent
87e9888167
commit
1cd64481de
@ -1014,7 +1014,8 @@ class CommandDispatcher:
|
||||
url = selected_element.attrib['href']
|
||||
except KeyError:
|
||||
raise cmdexc.CommandError('Anchor elment without href!')
|
||||
self._open(QUrl(url), tab)
|
||||
url = self._current_url().resolved(QUrl(url))
|
||||
self._open(url, tab)
|
||||
|
||||
@cmdutils.register(instance='command-dispatcher', name='inspector',
|
||||
scope='window')
|
||||
|
Loading…
Reference in New Issue
Block a user