mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-28 01:50:09 +00:00
Merge "Blacklist site notice banner images"
This commit is contained in:
commit
3a16bf36e2
|
@ -169,7 +169,7 @@
|
|||
// .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
|
||||
// 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;
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue