Switch order of sha1's in 'compare' so hilighted in the correct order
[catagits/Gitalist.git] / root / wrapper.tt2
index 2bbec84..7006bbb 100755 (executable)
@@ -44,7 +44,7 @@
                                }
                        }
                }
-               document.location.href = "[% c.uri_for("/") %]" + repo + "/"+ sha1 + "/diff/" + sha2 + "/" + path;
+               document.location.href = "[% c.uri_for("/") %]" + repo + "/"+ sha2 + "/diff/" + sha1 + "/" + path;
        }
        // handles hover sub menus in IE
        startList = function() {