diff --git a/boards/static/css/base.css b/boards/static/css/base.css --- a/boards/static/css/base.css +++ b/boards/static/css/base.css @@ -144,7 +144,7 @@ textarea, input { opacity: 1; } -.monochrome > .image > .thumb > img { +.monochrome > .image > .thumb > img, .monochrome.img-full { filter: grayscale(100%); -webkit-filter: grayscale(100%); } diff --git a/boards/static/js/image.js b/boards/static/js/image.js --- a/boards/static/js/image.js +++ b/boards/static/js/image.js @@ -184,6 +184,9 @@ PopupImageViewer.prototype.view = functi newImage.click(function() { $(this).remove(); }); + if (post.parent().parent().hasClass('monochrome')) { + newImage.addClass('monochrome'); + } } else { existingPopups.remove(); }