Sha256: bcf58dbde08b829b6f672adf123aa81827ee0b35c8a86fa3d1025b5983768994
Contents?: true
Size: 328 Bytes
Versions: 29
Compression:
Stored size: 328 Bytes
Contents
@Mercury.dialogHandlers.foreColor = -> @element.find('.picker, .last-picked').on '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
29 entries across 29 versions & 3 rubygems