dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "user: Allow "CAS update failed" exceptions to be normalised"
[lhc/web/wiklou.git]
/
resources
/
src
/
mediawiki.widgets
/
mw.widgets.TitleOptionWidget.js
diff --git
a/resources/src/mediawiki.widgets/mw.widgets.TitleOptionWidget.js
b/resources/src/mediawiki.widgets/mw.widgets.TitleOptionWidget.js
index
7d49a09
..
661f9ae
100644
(file)
--- a/
resources/src/mediawiki.widgets/mw.widgets.TitleOptionWidget.js
+++ b/
resources/src/mediawiki.widgets/mw.widgets.TitleOptionWidget.js
@@
-4,7
+4,7
@@
* @copyright 2011-2015 MediaWiki Widgets Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
* @copyright 2011-2015 MediaWiki Widgets Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
-( function (
$, mw
) {
+( function () {
/**
* Creates a mw.widgets.TitleOptionWidget object.
/**
* Creates a mw.widgets.TitleOptionWidget object.
@@
-51,6
+51,9
@@
// Parent constructor
mw.widgets.TitleOptionWidget.parent.call( this, config );
// Parent constructor
mw.widgets.TitleOptionWidget.parent.call( this, config );
+ // Remove check icon
+ this.checkIcon.$element.remove();
+
// Initialization
this.$label.attr( 'href', config.url );
this.$element.addClass( 'mw-widget-titleOptionWidget' );
// Initialization
this.$label.attr( 'href', config.url );
this.$element.addClass( 'mw-widget-titleOptionWidget' );
@@
-102,4
+105,4
@@
OO.inheritClass( mw.widgets.TitleOptionWidget, OO.ui.MenuOptionWidget );
OO.inheritClass( mw.widgets.TitleOptionWidget, OO.ui.MenuOptionWidget );
-}(
jQuery, mediaWiki
) );
+}() );