diff --git a/js/privatebin.js b/js/privatebin.js index 04eedac7..9f67e1d7 100644 --- a/js/privatebin.js +++ b/js/privatebin.js @@ -2030,7 +2030,7 @@ jQuery.PrivateBin = function($, sjcl, Base64, RawDeflate) { /** * removes the attachment * - * This automatically hides the attachment containers to, to + * This automatically hides the attachment containers too, to * prevent an inconsistent display. * * @name AttachmentViewer.removeAttachment @@ -2043,8 +2043,8 @@ jQuery.PrivateBin = function($, sjcl, Base64, RawDeflate) { } me.hideAttachment(); me.hideAttachmentPreview(); - $attachmentLink.prop('href', ''); - $attachmentLink.prop('download', ''); + $attachmentLink.removeAttr('href'); + $attachmentLink.removeAttr('download'); $attachmentPreview.html(''); file = undefined; diff --git a/tpl/bootstrap.php b/tpl/bootstrap.php index 207fc96b..a898900d 100644 --- a/tpl/bootstrap.php +++ b/tpl/bootstrap.php @@ -69,7 +69,7 @@ if ($MARKDOWN): - + diff --git a/tpl/page.php b/tpl/page.php index 07a18516..1704b100 100644 --- a/tpl/page.php +++ b/tpl/page.php @@ -47,7 +47,7 @@ if ($MARKDOWN): - +