mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
Add 'v' as a shortcut to show large diffs
This commit is contained in:
+1
-1
@@ -72,7 +72,7 @@ var loadCommit = function() {
|
||||
if (commit.diff.length < 10000) {
|
||||
showDiffs();
|
||||
} else {
|
||||
$("details").innerHTML = "<a class='showdiff' href='' onclick='showDiffs(); return false;'>This is a large commit. Click here to show the diff.</a>";
|
||||
$("details").innerHTML = "<a class='showdiff' href='' onclick='showDiffs(); return false;'>This is a large commit. Click here or press 'v' to view.</a>";
|
||||
}
|
||||
|
||||
scroll(0, 0);
|
||||
|
||||
Reference in New Issue
Block a user