mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
History-View: Clear list of files on showDiff
This clears the list of files before redrawing the showDiff method. Fixes Lighthouse ticket #263 Signed-off-by: Johannes Gilger <heipei@hackvalue.de>
This commit is contained in:
committed by
Nathan Kinsinger
parent
2852ecbf01
commit
f2cf438179
@@ -219,6 +219,8 @@ var loadCommit = function(commitObject, currentRef) {
|
||||
|
||||
var showDiff = function() {
|
||||
|
||||
$("files").innerHTML = "";
|
||||
|
||||
// Callback for the diff highlighter. Used to generate a filelist
|
||||
var newfile = function(name1, name2, id, mode_change, old_mode, new_mode) {
|
||||
var img = document.createElement("img");
|
||||
|
||||
Reference in New Issue
Block a user