Merge pull request #267 from SISheogorath/fix/revisionLinks

Fix revision redirect to index page
This commit is contained in:
Sheogorath 2020-02-10 21:55:09 +01:00 committed by GitHub
commit ea2ab05ffc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1103,7 +1103,7 @@ function parseRevisions (_revisions) {
revisionList.html('') revisionList.html('')
for (var i = 0; i < revisions.length; i++) { for (var i = 0; i < revisions.length; i++) {
var revision = revisions[i] var revision = revisions[i]
var item = $('<a href="#" class="list-group-item"></a>') var item = $('<a class="list-group-item"></a>')
item.attr('data-revision-time', revision.time) item.attr('data-revision-time', revision.time)
if (lastRevision === revision.time) item.addClass('active') if (lastRevision === revision.time) item.addClass('active')
var itemHeading = $('<h5 class="list-group-item-heading"></h5>') var itemHeading = $('<h5 class="list-group-item-heading"></h5>')