Sha256: 06b451a0f4ab0f4d00371f4ac49703d23cb37a8bafdeea5e39f04dbb0a7634ee
Contents?: true
Size: 437 Bytes
Versions: 16
Compression:
Stored size: 437 Bytes
Contents
$(window).ready -> # TODO: generalize so this works with item views other than bar $("body").on "click", "._selectable-filtered-content .bar-body", (e) -> item = $(this) name = item.slot().data("card-name") container = item.closest("._selectable-filtered-content") input = $(container.data("input-selector")) input.val name item.closest('.modal').modal('hide') e.preventDefault() e.stopPropagation()
Version data entries
16 entries across 16 versions & 2 rubygems