refactor(client): better semantics

This commit is contained in:
syuilo
2022-01-28 11:53:12 +09:00
parent 57ec04d9ec
commit b946d89ec1
32 changed files with 50 additions and 50 deletions

View File

@@ -78,7 +78,7 @@ export const menuDef = reactive({
}];
items.value = _items;
});
os.popupMenu(items, ev.currentTarget || ev.target);
os.popupMenu(items, ev.currentTarget ?? ev.target);
},
},
groups: {
@@ -109,7 +109,7 @@ export const menuDef = reactive({
}];
items.value = _items;
});
os.popupMenu(items, ev.currentTarget || ev.target);
os.popupMenu(items, ev.currentTarget ?? ev.target);
},
},
mentions: {
@@ -200,7 +200,7 @@ export const menuDef = reactive({
localStorage.setItem('ui', 'desktop');
unisonReload();
}
}*/], ev.currentTarget || ev.target);
}*/], ev.currentTarget ?? ev.target);
},
},
});