Skip to content

Commit

Permalink
add focus-within-polyfill for Safari (#1495)
Browse files Browse the repository at this point in the history
  • Loading branch information
sabine authored Aug 15, 2023
1 parent fc64148 commit 533ce3b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
8 changes: 8 additions & 0 deletions LICENSE-3RD-PARTY
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,14 @@ URL: https://github.com/lucaong/minisearch
License: MIT License
Copyright: Copyright 2022 Luca Ongaro

asset/vendors/focus-within-polyfill.min.js:

Name: :focus-within Pseudo-Class Polyfill
Version: v5.0.9
URL: https://github.com/matteobad/focus-within-polyfill
License: MIT License
Copyright: Copyright (c) 2019 Matteo Badini

--------------------------------------------------------------------------
Licenses
--------------------------------------------------------------------------
Expand Down
5 changes: 5 additions & 0 deletions asset/vendors/focus-within-polyfill.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/ocamlorg_frontend/layouts/layout.eml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ inner =
<link rel="stylesheet" href="<%s Ocamlorg_static.Asset.url "vendors/font-files/roboto-mono.css" %>">
<script defer src="<%s Ocamlorg_static.Asset.url "vendors/alpine-clipboard.js" %>"></script>
<script defer src="<%s Ocamlorg_static.Asset.url "vendors/alpine.min.js" %>"></script>
<script defer src="<%s Ocamlorg_static.Asset.url "vendors/focus-within-polyfill.min.js" %>"></script>
<script defer src="<%s Ocamlorg_static.Asset.url "vendors/htmx.min.js" %>"></script>
<% if use_swiper then ( %>
<link rel="stylesheet" href="<%s Ocamlorg_static.Asset.url "vendors/swiper-bundle.min.css" %>">
Expand Down

0 comments on commit 533ce3b

Please sign in to comment.