Commit 828f84fd authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

fixed merge request notes hide

parent cf68adda
...@@ -11,7 +11,7 @@ var MergeRequest = { ...@@ -11,7 +11,7 @@ var MergeRequest = {
$(".tabs a.merge-notes-tab").live("click", function(e) { $(".tabs a.merge-notes-tab").live("click", function(e) {
$(".merge-request-diffs").hide(); $(".merge-request-diffs").hide();
$(".merge-request-notes").show(); $(".merge_request_notes").show();
e.preventDefault(); e.preventDefault();
}); });
...@@ -19,7 +19,7 @@ var MergeRequest = { ...@@ -19,7 +19,7 @@ var MergeRequest = {
if(!MergeRequest.diffs_loaded) { if(!MergeRequest.diffs_loaded) {
MergeRequest.loadDiff(); MergeRequest.loadDiff();
} }
$(".merge-request-notes").hide(); $(".merge_request_notes").hide();
$(".merge-request-diffs").show(); $(".merge-request-diffs").show();
e.preventDefault(); e.preventDefault();
}); });
...@@ -33,7 +33,7 @@ var MergeRequest = { ...@@ -33,7 +33,7 @@ var MergeRequest = {
url: $(".merge-diffs-tab").attr("data-url"), url: $(".merge-diffs-tab").attr("data-url"),
complete: function(){ complete: function(){
MergeRequest.diffs_loaded = true; MergeRequest.diffs_loaded = true;
$(".merge-request-notes").hide(); $(".merge_request_notes").hide();
$(".dashboard-loader").hide()}, $(".dashboard-loader").hide()},
dataType: "script"}); dataType: "script"});
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment