Sha256: 152decd9de8911f901d2a2260e130daafe21167a79c5a8f371d7cb165b7e0edd
Contents?: true
Size: 412 Bytes
Versions: 6
Compression:
Stored size: 412 Bytes
Contents
function toggleVerifySSL () { var urlField = $('#docker_registry_url'), verifySSLField = $('#docker_registry_verify_ssl'), verifySSLFormGroup = verifySSLField.closest('.form-group'); if (/^https/.test(urlField.val())) { verifySSLFormGroup.show(); } else { verifySSLFormGroup.hide(); }; }; $(document).ready(function () { $('#docker_registry_url').on('change', toggleVerifySSL) })
Version data entries
6 entries across 6 versions & 1 rubygems