https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31653

            Bug ID: 31653
           Summary: jQuery upgrade broke search button hover effect
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: trivial
          Priority: P5 - low
         Component: Templates
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]
        Depends on: 29155

Created attachment 141083
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=141083&action=edit
Gif showing the intended behavior

When we upgrade jQuery I missed an instance of deprecated code: "hover" is no
longer an alias for "mouseenter mouseleave" when used with on(). Instead of...

$("a").on("hover", function...

...we must use...

$("a").on("mouseenter mouseleave", function...

This change broken the hover action which is supposed to be triggered when the
user's mouse interacts with the "Search" button in the header menu. See
attached gif.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29155
[Bug 29155] Upgrade jquery version to 3.6.0
-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to