adjusting id/css for object-commit
[webgit] / src / object_commit.c
index 6bf8342..91ad51c 100644 (file)
@@ -358,9 +358,7 @@ webgit_object_commit_action (struct webgit_repo_info* repo, unsigned char* sha1)
   buf = read_object_with_reference (sha1, "commit", &size, NULL);
 
   return html(
-                         html(html_tag("div", html_attr ("id", "object-commit")), 
                                   html(html_tag("div"), webgit_object_commit_menu_action (repo, sha1, buf, size)), html_nl (),
-                                  html(html_tag("div"), webgit_object_commit_content_action (repo, sha1, buf, size)), html_nl ()
-                                  )
+                                  html(html_tag("div", html_attr ("id", "object-commit")), webgit_object_commit_content_action (repo, sha1, buf, size)), html_nl ()
               );
 }