fix autocomplete on migration
This commit is contained in:
parent
ce8864c69a
commit
c8bb475abb
6 changed files with 17 additions and 18 deletions
2
public/css/gogs.min.css
vendored
2
public/css/gogs.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -172,15 +172,6 @@ function initRepository() {
|
|||
return;
|
||||
}
|
||||
|
||||
// New migrate
|
||||
if ($('.repository.new.migrate').length > 0) {
|
||||
// Clear browser autocomplete.
|
||||
if ($('#auth_username').data('need-clear')) {
|
||||
$('#auth_username').val('');
|
||||
$('#auth_password').val('');
|
||||
}
|
||||
}
|
||||
|
||||
// Labels
|
||||
if ($('.repository.labels').length > 0) {
|
||||
// Create label
|
||||
|
|
|
@ -106,6 +106,12 @@ img {
|
|||
.avatar.image {
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.form {
|
||||
.fake {
|
||||
display: none!important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
footer {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue