diff options
author | Phil Hughes <me@iamphill.com> | 2017-04-25 19:45:11 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-04-26 14:23:29 +0300 |
commit | 3c077fad8367264bed3b33fafa537d5c75c4c249 (patch) | |
tree | 3289825a14cde102a71557b987f560fe055dc276 /app/assets/javascripts | |
parent | 8efa88a306f599f131100296f2b8bb7ae1590741 (diff) |
Fixed tabs loading the ajax request twice
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r-- | app/assets/javascripts/milestone.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/milestone.js b/app/assets/javascripts/milestone.js index cd6f94e1365..cd2bd976160 100644 --- a/app/assets/javascripts/milestone.js +++ b/app/assets/javascripts/milestone.js @@ -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() { |