diff --git a/js/privatebin.js b/js/privatebin.js index 9c843628..a5ab23bd 100644 --- a/js/privatebin.js +++ b/js/privatebin.js @@ -5626,8 +5626,11 @@ jQuery.PrivateBin = (function($, RawDeflate) { me.initZ(); // if delete token is passed (i.e. paste has been deleted by this - // access), there is nothing more to do + // access), redirect to baseurl after 5 seconds if (Model.hasDeleteToken()) { + setTimeout(() => { + UiHelper.reloadHome(); + }, 5000); return; } diff --git a/tpl/bootstrap.php b/tpl/bootstrap.php index 901bced7..74712355 100644 --- a/tpl/bootstrap.php +++ b/tpl/bootstrap.php @@ -490,7 +490,7 @@ if ($FILEUPLOAD) : -