jQuery: remove jQuery from author.js

XMLWordPrintable

    • Type: Task
    • Resolution: Released
    • Priority: 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.

            Assignee:
            Florent Hernandez (Inactive)
            Reporter:
            Florent Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: