Keep password change on main management
This commit is contained in:
-11
@@ -81,7 +81,6 @@ function showPasswordForm(onSuccess) {
|
||||
const title = createFormHeader('비밀번호', renderIcons);
|
||||
const input = createPasswordInput('blog_secret', '비밀번호');
|
||||
const button = createButton('확인');
|
||||
const changeButton = createTextButton('암호 변경', () => showPasswordChangeForm());
|
||||
const msg = document.createElement('div');
|
||||
msg.id = 'failMsg';
|
||||
|
||||
@@ -94,7 +93,6 @@ function showPasswordForm(onSuccess) {
|
||||
column.className = 'launcher-form-column';
|
||||
column.appendChild(title);
|
||||
column.appendChild(inputRow);
|
||||
column.appendChild(changeButton);
|
||||
shortcut.appendChild(column);
|
||||
|
||||
const submit = async () => {
|
||||
@@ -350,15 +348,6 @@ function createButton(text) {
|
||||
return button;
|
||||
}
|
||||
|
||||
function createTextButton(text, onClick) {
|
||||
const button = document.createElement('button');
|
||||
button.type = 'button';
|
||||
button.className = 'launcher-text-button';
|
||||
button.textContent = text;
|
||||
button.addEventListener('click', onClick);
|
||||
return button;
|
||||
}
|
||||
|
||||
function launcherAlert(name) {
|
||||
if (typeof showAlert === 'function') {
|
||||
showAlert(name);
|
||||
|
||||
Reference in New Issue
Block a user