Refactor
This commit is contained in:
		| @@ -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; | ||||
| 			}); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 syuilo
					syuilo