Commit 9062f146 authored by Alfredo Sumaran's avatar Alfredo Sumaran

Remove unneded method call

@activateTab will call @setTab via .tab('show') this will trigger the method binded to this event which is @tabShown
parent f0b87790
......@@ -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
......
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