[Koha-bugs] [Bug 29960] New: Remove Modernizr dependency in the OPAC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 27 15:13:58 CET 2022


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

            Bug ID: 29960
           Summary: Remove Modernizr dependency in the OPAC
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: enhancement
          Priority: P5 - low
         Component: OPAC
          Assignee: oleonard at myacpl.org
          Reporter: oleonard at myacpl.org
        QA Contact: testopia at bugs.koha-community.org
        Depends on: 10309

The OPAC has a little bit of JavaScript which depends on the browser's
matchMedia API. At the time it was added, browsers didn't all support the API
consistently. Modernizr was added to act as a polyfill to ensure compatibility.

Browsers have caught up (https://caniuse.com/?search=matchmedia) so the
Modernizr dependency can be removed.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10309
[Bug 10309] New OPAC theme based on Bootstrap
-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list