Sha256: 9df91ec1ff2b7aca5422e4b5288b0808a17c54bdb46cf47aa72137a8994254e5
Contents?: true
Size: 322 Bytes
Versions: 3
Compression:
Stored size: 322 Bytes
Contents
@Mercury.dialogHandlers.foreColor = -> @element.find('.picker, .last-picked').click (event) => color = jQuery(event.target).css('background-color') @element.find('.last-picked').css({background: color}) @button.css({backgroundColor: color}) Mercury.trigger('action', {action: 'foreColor', value: color})
Version data entries
3 entries across 3 versions & 1 rubygems