Yuki Takei 8 лет назад
Родитель
Сommit
a4fe46d2c0
1 измененных файлов с 1 добавлено и 3 удалено
  1. 1 3
      lib/views/admin/security.html

+ 1 - 3
lib/views/admin/security.html

@@ -249,12 +249,10 @@
       });
     });
 
-    // event handling for isEnabledPassport radio buttons
+    // switch display according to on / off of radio buttons
     $('input[name="settingForm[security:isEnabledPassport]"]:radio').change(function() {
       const isEnabledPassport = ($(this).val() === "true");
 
-      console.log("isEnabledPassport", isEnabledPassport);
-
       if (isEnabledPassport) {
         $('form.officialCrowiMechanism').hide(400);
         $('form.passportStrategy').show(400);