forked from cory/tildefriends
ssb tf-compose fixes.
This commit is contained in:
parent
d6bb9d311a
commit
c6fd05c2cf
@ -1,5 +1,5 @@
|
||||
{
|
||||
"type": "tildefriends-app",
|
||||
"emoji": "🐌",
|
||||
"previous": "&26lpldEsyITn9DFPO9NvdU534QCvF9HIER1EE3w1C74=.sha256"
|
||||
"previous": "&r2Xphgr4HGdG4WnqWngj8fcAs1xHfZ1a2DJgqr7hqZA=.sha256"
|
||||
}
|
||||
|
@ -168,7 +168,6 @@ class TfComposeElement extends LitElement {
|
||||
};
|
||||
let edit = self.renderRoot.getElementById('edit');
|
||||
edit.innerText += `\n![${name}](${id})`;
|
||||
self.change();
|
||||
self.input();
|
||||
} catch (e) {
|
||||
alert(e?.message);
|
||||
@ -224,7 +223,7 @@ class TfComposeElement extends LitElement {
|
||||
try {
|
||||
await tfrpc.rpc.appendMessage(this.whoami, message).then(function () {
|
||||
edit.innerText = '';
|
||||
self.change();
|
||||
self.input();
|
||||
self.notify(undefined);
|
||||
self.requestUpdate();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user