Fixed tabs loading the ajax request twice

This commit is contained in:
Phil Hughes 2017-04-25 17:45:11 +01:00
parent 8efa88a306
commit 3c077fad83

View file

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