瀏覽代碼

modify password field

andre 4 年之前
父節點
當前提交
ee83b8e5e9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      check_configure_thurvserver.tpl

+ 1 - 1
check_configure_thurvserver.tpl

@@ -82,7 +82,7 @@
             }
             }
         });
         });
     });
     });
-    function togglePW(element) {
+    function toggleViewPW(element) {
         if (element.previousElementSibling.type == 'password') {
         if (element.previousElementSibling.type == 'password') {
             element.previousElementSibling.type = 'text';
             element.previousElementSibling.type = 'text';
             element.textContent = '👁 Passwort verstecken';
             element.textContent = '👁 Passwort verstecken';