diff --git a/lib/get-branch.php b/lib/get-branch.php index 9ddb100..14e80f8 100644 --- a/lib/get-branch.php +++ b/lib/get-branch.php @@ -232,7 +232,6 @@ if ($_SESSION['githubDiff']) { // UNCHANGED FILES are removed // =========================== if (tree[i].sha == dirSHAArray[dirListArray.indexOf(tree[i].path)]) { - thatNode = document.getElementById("|"+tree[i].path.replace("/","|")); if (document.getElementById("|"+tree[i].path.replace("/","|")+"_perms")) { thatNode = document.getElementById("|"+tree[i].path.replace("/","|")+"_perms").parentNode.parentNode; thatNode.parentNode.removeChild(thatNode); @@ -377,4 +376,4 @@ if ($_SESSION['githubDiff']) { } - \ No newline at end of file +