Fix subscription button by hooking it back up.
This commit is contained in:
parent
6f48cb8609
commit
43a8e3a693
|
@ -7,6 +7,7 @@ class @Subscription
|
|||
@subscribe_button.unbind('click').click(@toggleSubscription)
|
||||
|
||||
toggleSubscription: (event) =>
|
||||
console.log 'toggleSubscription'
|
||||
btn = $(event.currentTarget)
|
||||
action = btn.find('span').text()
|
||||
current_status = @subscription_status.attr('data-status')
|
||||
|
|
|
@ -150,3 +150,4 @@
|
|||
new MilestoneSelect();
|
||||
new LabelsSelect();
|
||||
new IssuableContext();
|
||||
new Subscription('.subscription')
|
Loading…
Reference in New Issue