fix(signin): align check-in feedback with reference theme
This commit is contained in:
1 parent
1df2822f01
commit
8e9d3a7e49
7 files changed
+334
-65
No files matched your search
@@ -115,11 +115,13 @@ test('sign-in waits for main before binding and invokes the signin captcha', asy
|
||||
const button = {
|
||||
dataset: {},
|
||||
disabled: false,
|
||||
attrs: {},
|
||||
classList: { toggle() {} },
|
||||
setAttribute(name, value) { this.attrs[name] = value; },
|
||||
removeAttribute(name) { delete this.attrs[name]; },
|
||||
addEventListener(name, handler) { listeners[name] = handler; },
|
||||
querySelector(selector) { return selector === '[data-signin-label]' ? label : null; },
|
||||
getAttribute(name) {
|
||||
if (name === 'data-signin-idle-label') return '签到';
|
||||
if (name === 'data-signin-done-label') return '已签到';
|
||||
return '';
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user