From 9062f14617a754f81ddc05e3242be13f15d5fe2c Mon Sep 17 00:00:00 2001 From: Alfredo Sumaran <alfredo@gitlab.com> Date: Tue, 1 Mar 2016 12:39:57 -0500 Subject: [PATCH] Remove unneded method call @activateTab will call @setTab via .tab('show') this will trigger the method binded to this event which is @tabShown --- app/assets/javascripts/user_tabs.js.coffee | 1 - 1 file changed, 1 deletion(-) diff --git a/app/assets/javascripts/user_tabs.js.coffee b/app/assets/javascripts/user_tabs.js.coffee index 53ee524867c..dfde2383e5f 100644 --- a/app/assets/javascripts/user_tabs.js.coffee +++ b/app/assets/javascripts/user_tabs.js.coffee @@ -16,7 +16,6 @@ class @UserTabs # Set active tab source = $(".#{action}-tab a").attr('href') @activateTab(action) - @setTab(source, action) bindEvents: -> $(document).on 'shown.bs.tab', '.nav-links a[data-toggle="tab"]', @tabShown -- GitLab