From b2360be8a2d0ac9e38fd1ff7285e91b5f460605c Mon Sep 17 00:00:00 2001 From: Darius Kazemi Date: Wed, 5 Mar 2025 23:36:15 -0800 Subject: [PATCH] Remove "Post published" popup Mastodon web has a popup that is annoying every time you post. This gets rid of it. --- app/javascript/mastodon/actions/compose.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/app/javascript/mastodon/actions/compose.js b/app/javascript/mastodon/actions/compose.js index b5369babe..5160cd37a 100644 --- a/app/javascript/mastodon/actions/compose.js +++ b/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)); });