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
Branches
Tags
No related merge requests found
Loading
@@ -16,7 +16,6 @@ class @UserTabs
Loading
@@ -16,7 +16,6 @@ class @UserTabs
# Set active tab # Set active tab
source = $(".#{action}-tab a").attr('href') source = $(".#{action}-tab a").attr('href')
@activateTab(action) @activateTab(action)
@setTab(source, action)
   
bindEvents: -> bindEvents: ->
$(document).on 'shown.bs.tab', '.nav-links a[data-toggle="tab"]', @tabShown $(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