X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=resources%2Fsrc%2Fmediawiki.special.contributions.js;h=fb81dd8c5a48217b04e5a7f3b3d2114235266b49;hb=fa0fe8d2940b71950f82f2303acd3a3717b51389;hp=275e96a8d4bb74221e7388ece0e6b43d97d907e9;hpb=8fb14da2d28a2b39197c83db8c66daad0e397298;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/src/mediawiki.special.contributions.js b/resources/src/mediawiki.special.contributions.js index 275e96a8d4..fb81dd8c5a 100644 --- a/resources/src/mediawiki.special.contributions.js +++ b/resources/src/mediawiki.special.contributions.js @@ -20,10 +20,10 @@ // date picker is open will cause the date picker to remain visible (but non-functional), but // not replacing the interface while the user is working with it is probably a good idea anyway. startReady = whenBlurred( $( '#mw-date-start .oo-ui-inputWidget-input' ) ).then( function () { - return mw.widgets.DateInputWidget.static.infuse( 'mw-date-start' ); + return mw.widgets.DateInputWidget.static.infuse( $( '#mw-date-start' ) ); } ); endReady = whenBlurred( $( '#mw-date-end .oo-ui-inputWidget-input' ) ).then( function () { - return mw.widgets.DateInputWidget.static.infuse( 'mw-date-end' ); + return mw.widgets.DateInputWidget.static.infuse( $( '#mw-date-end' ) ); } ); $.when( startReady, endReady ).then( function ( startInput, endInput ) {