We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43ceda1 commit 01abebdCopy full SHA for 01abebd
src/static/js/pad_editor.ts
@@ -86,6 +86,8 @@ const padeditor = (() => {
86
$('#delete-pad').on('click', () => {
87
if (window.confirm(html10n.get('pad.delete.confirm'))) {
88
pad.collabClient.sendMessage({type: 'PAD_DELETE', data:{padId: pad.getPadId()}});
89
+ // redirect to home page after deletion
90
+ window.location.href = '/';
91
}
92
})
93
0 commit comments