Skip to content

Commit 8fcbba8

Browse files
committed
Fix JS access of parent SHA for history view
1 parent 1477c46 commit 8fcbba8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

html/views/history/history.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ var loadCommit = function(commitObject, currentRef) {
206206
var newRow = $("commit_header").insertRow(-1);
207207
newRow.innerHTML = "<td class='property_name'>Parent:</td><td>" +
208208
"<a href='' onclick='selectCommit(this.innerHTML); return false;'>" +
209-
commit.parents[i].string + "</a></td>";
209+
commit.parents[i].string() + "</a></td>";
210210
}
211211

212212
commit.notificationID = setTimeout(function() {

0 commit comments

Comments
 (0)