Temporary way to update chat feed on new message (should be improved)
This commit is contained in:
parent
71670ebfbf
commit
6b562194ff
|
@ -87,7 +87,9 @@ function api_send_message(dom) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function fedilove_on_notification_event() {
|
function fedilove_on_notification_event() {
|
||||||
alert('it worked!!');
|
if ($('div.the-list > div:last-child > article').length > 0) {
|
||||||
|
$('div.the-list > div:last-child > article').click();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// this is our URL-based customizations made by JavaScript
|
// this is our URL-based customizations made by JavaScript
|
||||||
|
|
Loading…
Reference in New Issue