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
build: Enable use of stylelint-config-wikimedia and make pass
[lhc/web/wiklou.git]
/
resources
/
src
/
mediawiki.widgets.datetime
/
CalendarWidget.js
diff --git
a/resources/src/mediawiki.widgets.datetime/CalendarWidget.js
b/resources/src/mediawiki.widgets.datetime/CalendarWidget.js
index
31b1cd5
..
54a5a85
100644
(file)
--- a/
resources/src/mediawiki.widgets.datetime/CalendarWidget.js
+++ b/
resources/src/mediawiki.widgets.datetime/CalendarWidget.js
@@
-202,6
+202,7
@@
return this.selected;
};
return this.selected;
};
+ // eslint-disable-next-line valid-jsdoc
/**
* Set the selected dates
*
/**
* Set the selected dates
*
@@
-250,6
+251,7
@@
return this.focusedDate;
};
return this.focusedDate;
};
+ // eslint-disable-next-line valid-jsdoc
/**
* Set the currently-focused date
*
/**
* Set the currently-focused date
*
@@
-498,6
+500,7
@@
*
* @protected
* @param {jQuery.Event} e Key down event
*
* @protected
* @param {jQuery.Event} e Key down event
+ * @return {boolean} False to cancel the default event
*/
mw.widgets.datetime.CalendarWidget.prototype.onKeyDown = function ( e ) {
var focusedDate = this.getFocusedDate();
*/
mw.widgets.datetime.CalendarWidget.prototype.onKeyDown = function ( e ) {
var focusedDate = this.getFocusedDate();