Browse Source

Remove "Post published" popup

Mastodon web has a popup that is annoying every time you post. This gets rid of it.
v4.2.17+hometown-1.1.1
Darius Kazemi 1 year ago
parent
commit
b2360be8a2
  1. 7
      app/javascript/mastodon/actions/compose.js

7
app/javascript/mastodon/actions/compose.js

@ -245,13 +245,6 @@ export function submitCompose(routerHistory) {
insertIfOnline('public');
insertIfOnline(`account:${response.data.account.id}`);
}
dispatch(showAlert({
message: statusId === null ? messages.published : messages.saved,
action: messages.open,
dismissAfter: 10000,
onClick: () => routerHistory.push(`/@${response.data.account.username}/${response.data.id}`),
}));
}).catch(function (error) {
dispatch(submitComposeFail(error));
});

Loading…
Cancel
Save