mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-22 05:55:12 +00:00
タイムラインの「リノートを表示」のトグルスイッチが反応しない問題を直す (#12577)
* [frontend] Fix renote toggle switch * Fix MkMenu rather than usage
This commit is contained in:
parent
8866c530c4
commit
ad60e43ae4
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ function focusDown() {
|
|||
}
|
||||
|
||||
function switchItem(item: MenuSwitch & { ref: any }) {
|
||||
if (typeof item.disabled === 'boolean' ? item.disabled : item.disabled.value) return;
|
||||
if (item.disabled !== undefined && (typeof item.disabled === 'boolean' ? item.disabled : item.disabled.value)) return;
|
||||
item.ref = !item.ref;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue