mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-27 08:20:02 +00:00
Improve sub-ref check to avoid false positives
Bug: T376242 Change-Id: If922dbd52ceb9b1a7973fececa2d062a043f8191
This commit is contained in:
parent
97495c9bf1
commit
bc45eb242c
|
@ -24,7 +24,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