##// END OF EJS Templates
Show monochrome image popups in monochrome threads
neko259 -
r1965:7ff6c47e default
parent child Browse files
Show More
@@ -144,7 +144,7 b' textarea, input {'
144 opacity: 1;
144 opacity: 1;
145 }
145 }
146
146
147 .monochrome > .image > .thumb > img {
147 .monochrome > .image > .thumb > img, .monochrome.img-full {
148 filter: grayscale(100%);
148 filter: grayscale(100%);
149 -webkit-filter: grayscale(100%);
149 -webkit-filter: grayscale(100%);
150 }
150 }
@@ -184,6 +184,9 b' PopupImageViewer.prototype.view = functi'
184 newImage.click(function() {
184 newImage.click(function() {
185 $(this).remove();
185 $(this).remove();
186 });
186 });
187 if (post.parent().parent().hasClass('monochrome')) {
188 newImage.addClass('monochrome');
189 }
187 } else {
190 } else {
188 existingPopups.remove();
191 existingPopups.remove();
189 }
192 }
General Comments 0
You need to be logged in to leave comments. Login now