瀏覽代碼

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);