Drupal investigation

statistics.js 327B

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