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.datetime
/
DateTimeInputWidget.js
diff --git
a/resources/src/mediawiki.widgets.datetime/DateTimeInputWidget.js
b/resources/src/mediawiki.widgets.datetime/DateTimeInputWidget.js
index
17f1fb4
..
21aecd6
100644
(file)
--- a/
resources/src/mediawiki.widgets.datetime/DateTimeInputWidget.js
+++ b/
resources/src/mediawiki.widgets.datetime/DateTimeInputWidget.js
@@
-1,4
+1,4
@@
-( function (
$, mw
) {
+( function () {
/**
* DateTimeInputWidgets can be used to input a date, a time, or a date and
/**
* DateTimeInputWidgets can be used to input a date, a time, or a date and
@@
-373,6
+373,7
@@
} else {
maxlength = spec.size;
if ( spec.intercalarySize ) {
} else {
maxlength = spec.size;
if ( spec.intercalarySize ) {
+ // eslint-disable-next-line no-restricted-properties
$.each( spec.intercalarySize, reduceFunc );
}
$field = $( '<input>' ).attr( 'type', 'text' )
$.each( spec.intercalarySize, reduceFunc );
}
$field = $( '<input>' ).attr( 'type', 'text' )
@@
-834,4
+835,4
@@
this.focus();
};
this.focus();
};
-}(
jQuery, mediaWiki
) );
+}() );