diff --git a/core/modules/config_translation/src/FormElement/DateFormat.php b/core/modules/config_translation/src/FormElement/DateFormat.php index 53f72ff..b541108 100644 --- a/core/modules/config_translation/src/FormElement/DateFormat.php +++ b/core/modules/config_translation/src/FormElement/DateFormat.php @@ -48,7 +48,7 @@ public function getFormAttributes() { return array( '#attached' => array( 'library' => array('system/drupal.system.date'), - ) + ), ); } diff --git a/core/modules/system/js/system.date.js b/core/modules/system/js/system.date.js index ad3c60a..98bb96e 100644 --- a/core/modules/system/js/system.date.js +++ b/core/modules/system/js/system.date.js @@ -22,7 +22,7 @@ /** * Event handler that replaces date characters with value. * - * @param e + * @param Object e */ function dateFormatHandler(e) { var baseValue = $(e.target).val() || '';