diff --git a/app/assets/javascripts/app/controllers/widget/link.js.coffee b/app/assets/javascripts/app/controllers/widget/link.js.coffee index d513ac1d4..c66495de9 100644 --- a/app/assets/javascripts/app/controllers/widget/link.js.coffee +++ b/app/assets/javascripts/app/controllers/widget/link.js.coffee @@ -1,7 +1,7 @@ class App.WidgetLink extends App.Controller events: - 'click [data-type=add]': 'add', - 'click [data-type=remove]': 'remove', + 'click .js-add': 'add', + 'click .js-remove': 'remove', constructor: -> super diff --git a/app/assets/javascripts/app/views/link/info.jst.eco b/app/assets/javascripts/app/views/link/info.jst.eco index ed91836de..af021fe69 100644 --- a/app/assets/javascripts/app/views/link/info.jst.eco +++ b/app/assets/javascripts/app/views/link/info.jst.eco @@ -1,10 +1,19 @@ <% for type of @links: %> - -