Sha256: c062ed235e301a3e7c49c61906fa7d5dd455a4140095fc259975c51ba358704d
Contents?: true
Size: 852 Bytes
Versions: 27
Compression:
Stored size: 852 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
27 entries across 27 versions & 1 rubygems