mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-23 22:45:20 +00:00
Improve sub-ref check to avoid false positives
Bug: T376242 Change-Id: If922dbd52ceb9b1a7973fececa2d062a043f8191
This commit is contained in:
parent
1be72de7bb
commit
d478955777
|
@ -29,7 +29,7 @@ ve.ui.MWReferenceResultWidget = function VeUiMWReferenceResultWidget( config ) {
|
|||
|
||||
this.$element
|
||||
.addClass( 've-ui-mwReferenceResultWidget' );
|
||||
if ( item.reference.extendsRef !== undefined ) {
|
||||
if ( item.reference.extendsRef ) {
|
||||
this.$element.addClass( 've-ui-mwReferenceResultWidget-sub' );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue