Commit 3c077fad authored by Phil Hughes's avatar Phil Hughes

Fixed tabs loading the ajax request twice

parent 8efa88a3
...@@ -84,11 +84,11 @@ ...@@ -84,11 +84,11 @@
this.bindIssuesSorting(); this.bindIssuesSorting();
this.bindTabsSwitching(); this.bindTabsSwitching();
this.loadInitialTab();
// Load merge request tab if it is active // Load merge request tab if it is active
// merge request tab is active based on different conditions in the backend // merge request tab is active based on different conditions in the backend
this.loadTab($('.js-milestone-tabs .active a')); this.loadTab($('.js-milestone-tabs .active a'));
this.loadInitialTab();
} }
Milestone.prototype.bindIssuesSorting = function() { Milestone.prototype.bindIssuesSorting = function() {
......
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