mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-23 22:45:20 +00:00
bc7f1a7005
Same as in I7e82e03. The extra "shield" element was added in 2013 (!), see Ib244ff6. Back then we couldn't use the CSS property. But nowadays we can. Bug: T360034 Bug: T367030 Change-Id: Ib41e062491e65eabc8a52facefe283ba04ce16ff
29 lines
685 B
JavaScript
29 lines
685 B
JavaScript
'use strict';
|
|
|
|
/*!
|
|
* VisualEditor UserInterface MWReferenceResultWidget class.
|
|
*
|
|
* @copyright 2011-2018 VisualEditor Team's Cite sub-team and others; see AUTHORS.txt
|
|
* @license MIT
|
|
*/
|
|
|
|
/**
|
|
* Creates an ve.ui.MWReferenceResultWidget object.
|
|
*
|
|
* @constructor
|
|
* @extends OO.ui.OptionWidget
|
|
* @param {Object} [config] Configuration options
|
|
*/
|
|
ve.ui.MWReferenceResultWidget = function VeUiMWReferenceResultWidget() {
|
|
// Parent constructor
|
|
ve.ui.MWReferenceResultWidget.super.apply( this, arguments );
|
|
|
|
// Initialization
|
|
this.$element
|
|
.addClass( 've-ui-mwReferenceResultWidget' );
|
|
};
|
|
|
|
/* Inheritance */
|
|
|
|
OO.inheritClass( ve.ui.MWReferenceResultWidget, OO.ui.OptionWidget );
|