Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-5753

jQuery: remove jQuery from author.js

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Released
    • Icon: Should have Should have
    • 2.46.0
    • 2
    • Performance
    • Sprint #150

      planet4-master-theme/assets/src/js/author.js

      setupAuthor() switches classes of a headline when hovering an adjacent image.

      This could be replaced by a CSS rule :hover + sibling, ie:

      .search-result-item-image:hover + div .search-result-item-headline {
        text-decoration: underline;
      }
      

      The same JS code is also in search.js and should be completely removed from there.

            fhernand Florent Hernandez
            fhernand Florent Hernandez
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: