0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-25 15:02:56 +01:00

add user new js

This commit is contained in:
FuXiaoHei 2014-05-11 21:27:06 +08:00
parent 27f9b7a144
commit fd7b0a2ba4

View file

@ -79,7 +79,6 @@
$(function(){
$('#login-type').on("change",function(){
var v = $(this).val();
alert(v.indexOf("0-")+1);
if(v.indexOf("0-")+1){
$('.auth-name').toggleHide();
$(".pwd").find("input").attr("required","required")