add ctrl-click to edit QR

This commit is contained in:
LenAnderson 2023-12-24 00:20:47 +00:00
parent 5cd911db6b
commit aed38e32bd

View File

@ -79,7 +79,11 @@ export class QuickReply {
menu.show(evt);
}
});
root.addEventListener('click', ()=>{
root.addEventListener('click', (evt)=>{
if (evt.ctrlKey) {
this.showEditor();
return;
}
if (this.message?.length > 0 && this.onExecute) {
this.onExecute(this);
}