Sha256: d23ca035f459a9e28309bb36eefc0e7e642632242a1b3ec10313f28618d79fda
Contents?: true
Size: 505 Bytes
Versions: 46
Compression:
Stored size: 505 Bytes
Contents
$(() => { const $modal = $("#show-email-modal"); if ($modal.length === 0) { return } const $button = $("[data-open=user_email]", $modal); const $email = $("#user_email", $modal); const $fullName = $("#user_full_name", $modal); $("[data-toggle=show-email-modal]").on("click", (event) => { event.preventDefault() $button.show() $button.attr("data-open-url", event.currentTarget.href) $fullName.text($(event.currentTarget).data("full-name")) $email.html("") }) })
Version data entries
46 entries across 46 versions & 1 rubygems