diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-03-01 12:39:57 -0500 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-03-01 12:39:57 -0500 |
commit | 9062f14617a754f81ddc05e3242be13f15d5fe2c (patch) | |
tree | 69ccc7ea40d4a32bc4eda1fc764fd939f5103113 /app | |
parent | f0b877904703b9e22ffd4556a1872b0a20f55d36 (diff) | |
download | gitlab-ce-9062f14617a754f81ddc05e3242be13f15d5fe2c.tar.gz |
Remove unneded method call
@activateTab will call @setTab via .tab('show') this will trigger the method binded to this event which is @tabShown
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/user_tabs.js.coffee | 1 |
1 files changed, 0 insertions, 1 deletions
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 |