Sha256: 001f7e00593ade9e1896ac61103a0cd3a3badb719c4dc4c965aa6db396a2799e

Contents?: true

Size: 202 Bytes

Versions: 2

Compression:

Stored size: 202 Bytes

Contents

@Mercury.modalHandlers.insertcharacter = ->
  @element.find('.character').click ->
    Mercury.trigger('action', {action: 'insertHTML', value: "&#{$(@).attr('data-entity')};"})
    Mercury.modal.hide()

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mercury-rails-0.1.1 app/assets/javascripts/mercury/modals/insertcharacter.js.coffee
mercury-rails-0.1.0 app/assets/javascripts/mercury/modals/insertcharacter.js.coffee