Fix url available to :navigate (strip query)

This commit is contained in:
lyeoh 2018-10-01 16:24:54 -05:00
parent 4060fcc1c6
commit 1b8e1a9ea4

View File

@ -635,7 +635,8 @@ class CommandDispatcher:
cmdutils.check_exclusive((tab, bg, window), 'tbw') cmdutils.check_exclusive((tab, bg, window), 'tbw')
widget = self._current_widget() widget = self._current_widget()
url = self._current_url().adjusted(QUrl.RemoveFragment) url = self._current_url().adjusted(QUrl.RemoveFragment |
QUrl.RemoveQuery)
handlers = { handlers = {
'prev': functools.partial(navigate.prevnext, prev=True), 'prev': functools.partial(navigate.prevnext, prev=True),