Sha256: bab940508c72c583855d6c63c24c938c3143bdfeeda4c1c5138fd8d988425249
Contents?: true
Size: 851 Bytes
Versions: 44
Compression:
Stored size: 851 Bytes
Contents
$(() => { const $scope = $("#welcome-notification-details"); const $sendNotificationCheckbox = $( "#organization_send_welcome_notification", $scope ); const $customizeCheckbox = $( "#organization_customize_welcome_notification", $scope ); const toggleVisibility = () => { if ($sendNotificationCheckbox.is(":checked")) { $(".send-welcome-notification-details", $scope).show(); } else { $(".send-welcome-notification-details", $scope).hide(); } if ($customizeCheckbox.is(":checked")) { $(".customize-welcome-notification-details", $scope).show(); } else { $(".customize-welcome-notification-details", $scope).hide(); } }; $($sendNotificationCheckbox).click(() => toggleVisibility()); $($customizeCheckbox).click(() => toggleVisibility()); toggleVisibility(); });
Version data entries
44 entries across 44 versions & 1 rubygems