BigW Consortium Gitlab

Commit 85e672b1 by Alfredo Sumaran

Turn off existing event listeners

parent 7ff635d9
......@@ -69,6 +69,10 @@ class @UserTabs
@activateTab(action)
bindEvents: ->
# Turn off existing event listeners
$(document).off 'shown.bs.tab', '.nav-links a[data-toggle="tab"]'
# Set event listeners
$(document).on 'shown.bs.tab', '.nav-links a[data-toggle="tab"]', @tabShown
tabStateInit: ->
......
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