Commit 43a8e3a6 authored by Jacob Schatz's avatar Jacob Schatz

Fix subscription button by hooking it back up.

parent 6f48cb86
......@@ -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')
\ No newline at end of file
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