5 lines
125 B
CoffeeScript
5 lines
125 B
CoffeeScript
App.Flaggable =
|
|
|
|
update: (resource_id, button) ->
|
|
$("#" + resource_id + " .js-flag-actions").html(button).foundation()
|