Files
nairobi/app/assets/javascripts/flaggable.js.coffee
Javi Martín 9e80c75032 Use string interpolation in CoffeeScript
We use it in Ruby, and it will make it easier to change all quotes to
double quotes in CoffeeScript files.
2019-03-06 11:41:21 +01:00

5 lines
120 B
CoffeeScript

App.Flaggable =
update: (resource_id, button) ->
$("##{resource_id} .js-flag-actions").html(button).foundation()