Removed unneeded setting of thatNode

This commit is contained in:
Matt Pass
2014-08-29 07:23:21 +01:00
parent 5f0d7a5a19
commit 73148eabed

View File

@@ -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']) {
}
</script>
</body>
</html>
</html>