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