diff options
author | Sheogorath | 2020-02-10 17:41:47 +0100 |
---|---|---|
committer | Sheogorath | 2020-02-10 17:45:43 +0100 |
commit | 45cc1325fba562777348814fa095ca7c66e2fcf7 (patch) | |
tree | 159c1e5ff141c7081b0d9ac22b2efef82e16afbf /lib/web/middleware | |
parent | 2a28c832fcc448e12dff0dcf210d5614965cf66a (diff) |
Fix revision redirect to index page
The revision view had a bug that clicking on a list entry would redirect
the user back to the index page instead of providing the revision diff.
This was cased by the baseurl which is now used as reference for hrefs.
Therefore when clicking on the `href="#"` this was actually pointing at
`<baseurl>#` which is usually the index page.
This patch simply removes the href from the list items and therefore the
link functionality. This fixes the whole problem by removing 9
characters from our source code.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
Diffstat (limited to 'lib/web/middleware')
0 files changed, 0 insertions, 0 deletions