提交 85e672b1 编写于 作者: A Alfredo Sumaran

Turn off existing event listeners

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册