Skip to content
Snippets Groups Projects
Commit 9062f146 authored by Alfredo Sumaran's avatar Alfredo Sumaran
Browse files

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
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment