Skip to content
Snippets Groups Projects
Commit 6a2c7d80 authored by gitlabhq's avatar gitlabhq
Browse files

fixed image preview

parent 42ba6d04
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -469,3 +469,5 @@ body.project-page table.no-borders td{
padding:40px;
display:none;
}
#tree-content-holder { float:left; width:100%; }
class Tree
include Utils::FileHelper
attr_accessor :path, :tree, :project, :ref
 
delegate :contents,
Loading
Loading
:plain
$("#tree-holder table").hide("slide", { direction: "left" }, 150, function(){
$("#tree-content-holder").hide("slide", { direction: "left" }, 150, function(){
$("#tree-holder").html("#{escape_javascript(render(:partial => "tree", :locals => {:repo => @repo, :commit => @commit, :tree => @tree}))}");
$("#tree-holder table").show("slide", { direction: "right" }, 150);
$("#tree-content-holder").show("slide", { direction: "right" }, 150);
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment