SU-SWS/stanford_profile_helper

View on GitHub
modules/stanford_news/lib/js/news-list.js

Summary

Maintainability
A
0 mins
Test Coverage

(($ ) => {
  Drupal.behaviors.newsList = {
    attach: function attach(context, settings) {
      // Remove the alt text on list image.
      $('.su-news-article img', context).attr('alt', '');
    },
  };
})(jQuery);