diff options
Diffstat (limited to 'core/modules/system/js/system.date.js')
-rw-r--r-- | core/modules/system/js/system.date.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/core/modules/system/js/system.date.js b/core/modules/system/js/system.date.js index 785a5c65fb55..8de2e65a5e87 100644 --- a/core/modules/system/js/system.date.js +++ b/core/modules/system/js/system.date.js @@ -7,7 +7,6 @@ (function ($, Drupal, drupalSettings) { var dateFormats = drupalSettings.dateFormats; - Drupal.behaviors.dateFormat = { attach: function attach(context) { var $context = $(context); @@ -24,7 +23,6 @@ var dateString = baseValue.replace(/\\?(.?)/gi, function (key, value) { return dateFormats[key] ? dateFormats[key] : value; }); - $preview.text(dateString); $target.toggleClass('js-hide', !dateString.length); } |