diff --git a/js/privatebin.js b/js/privatebin.js index b8962e48..d9207059 100644 --- a/js/privatebin.js +++ b/js/privatebin.js @@ -4108,6 +4108,9 @@ jQuery.PrivateBin = (function($, RawDeflate) { deleteUrl = baseUri + 'pasteid=' + data.id + '&deletetoken=' + data.deletetoken; PasteStatus.createPasteNotification(url, deleteUrl); + // enable shortener button + $shortenButton.removeClass('buttondisabled'); + // show new URL in browser bar history.pushState({type: 'newpaste'}, document.title, url); diff --git a/tpl/bootstrap.php b/tpl/bootstrap.php index 76fe9f4b..f22a87f7 100644 --- a/tpl/bootstrap.php +++ b/tpl/bootstrap.php @@ -71,7 +71,7 @@ if ($MARKDOWN): endif; ?> - + diff --git a/tpl/page.php b/tpl/page.php index 8113d49c..f048899f 100644 --- a/tpl/page.php +++ b/tpl/page.php @@ -49,7 +49,7 @@ if ($MARKDOWN): endif; ?> - +