mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-26 00:03:35 +01:00
add user new js
This commit is contained in:
parent
27f9b7a144
commit
fd7b0a2ba4
1 changed files with 0 additions and 1 deletions
|
@ -79,7 +79,6 @@
|
||||||
$(function(){
|
$(function(){
|
||||||
$('#login-type').on("change",function(){
|
$('#login-type').on("change",function(){
|
||||||
var v = $(this).val();
|
var v = $(this).val();
|
||||||
alert(v.indexOf("0-")+1);
|
|
||||||
if(v.indexOf("0-")+1){
|
if(v.indexOf("0-")+1){
|
||||||
$('.auth-name').toggleHide();
|
$('.auth-name').toggleHide();
|
||||||
$(".pwd").find("input").attr("required","required")
|
$(".pwd").find("input").attr("required","required")
|
||||||
|
|
Loading…
Reference in a new issue