소스 검색

clean code

Yuki Takei 8 년 전
부모
커밋
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);