diff --git a/js/privatebin.js b/js/privatebin.js index 9d41350..9c1e91e 100644 --- a/js/privatebin.js +++ b/js/privatebin.js @@ -4128,11 +4128,6 @@ jQuery.PrivateBin = (function($, sjcl, Base64, RawDeflate) { var key = Model.getPasteKey(), password = Prompt.getPassword(); - if (PasteViewer.isPrettyPrinted()) { - // don't decrypt twice - return; - } - // try to decrypt the paste try { // decrypt attachments diff --git a/tpl/bootstrap.php b/tpl/bootstrap.php index cc96a98..2f27727 100644 --- a/tpl/bootstrap.php +++ b/tpl/bootstrap.php @@ -75,7 +75,7 @@ if ($MARKDOWN): - + diff --git a/tpl/page.php b/tpl/page.php index 75f6221..acf0bdc 100644 --- a/tpl/page.php +++ b/tpl/page.php @@ -54,7 +54,7 @@ if ($QRCODE): - +