From 73148eabed0be876b9471e81ab1a5635e6a3454e Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Fri, 29 Aug 2014 07:23:21 +0100 Subject: [PATCH] Removed unneeded setting of thatNode --- lib/get-branch.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 +