This commit is contained in:
syuilo
2020-11-03 15:22:55 +09:00
parent 5ef4a52bbd
commit c3ae6f3a4a
25 changed files with 73 additions and 62 deletions

View File

@@ -73,8 +73,8 @@ export default defineComponent({
this.changed = false;
},
async preview(ev) {
os.popup(await import('@/components/reaction-picker.vue'), {
preview(ev) {
os.popup(import('@/components/reaction-picker.vue'), {
reactions: this.splited,
showFocus: false,
src: ev.currentTarget || ev.target,
@@ -85,7 +85,7 @@ export default defineComponent({
this.reactions = defaultSettings.reactions.join('');
},
async chooseEmoji(ev) {
chooseEmoji(ev) {
os.pickEmoji(ev.currentTarget || ev.target).then(emoji => {
this.reactions += emoji;
});