mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 01:36:29 -05:00
Merge pull request #267 from SISheogorath/fix/revisionLinks
Fix revision redirect to index page
This commit is contained in:
commit
ea2ab05ffc
1 changed files with 1 additions and 1 deletions
|
@ -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>')
|
||||||
|
|
Loading…
Reference in a new issue