statistics.es6.js 303 B

123456789101112131415
  1. /**
  2. * @file
  3. * Statistics functionality.
  4. */
  5. (function($, Drupal, drupalSettings) {
  6. $(document).ready(() => {
  7. $.ajax({
  8. type: 'POST',
  9. cache: false,
  10. url: drupalSettings.statistics.url,
  11. data: drupalSettings.statistics.data,
  12. });
  13. });
  14. })(jQuery, Drupal, drupalSettings);