Merge "Blacklist site notice banner images"

This commit is contained in:
jenkins-bot 2014-11-20 22:03:08 +00:00 committed by Gerrit Code Review
commit 3a16bf36e2

View file

@ -169,7 +169,7 @@
// .noviewer means MediaViewer has been specifically disabled for this image // .noviewer means MediaViewer has been specifically disabled for this image
// .noarticletext means we are on an error page for a non-existing article, the image is part of some // .noarticletext means we are on an error page for a non-existing article, the image is part of some
// template // FIXME this should be handled by .metadata // template // FIXME this should be handled by .metadata
return $thumb.closest( '.metadata, .noviewer, .noarticletext' ).length === 0; return $thumb.closest( '.metadata, .noviewer, .noarticletext, #siteNotice' ).length === 0;
}; };