Sha256: fc33f5300c1b5043f45a85c56cf9edec383823deb2e94cafc5907c69240e95ee
Contents?: true
Size: 463 Bytes
Versions: 68
Compression:
Stored size: 463 Bytes
Contents
(function() { $(document).on("change", "[name='thought[pattern_id]']:visible", renderDescription); function renderDescription(event) { var description = $(event.target.selectedOptions).data("description"); if (description) { $(event.target).parent().siblings("#thought-pattern-description").html(description).show(); } else { $(event.target).parent().siblings("#thought-pattern-description").html(description).hide(); } } })();
Version data entries
68 entries across 68 versions & 1 rubygems