Skip to content

Commit

Permalink
Add onload for link to suse.css
Browse files Browse the repository at this point in the history
Use onload="this.rel='stylesheet'"
  • Loading branch information
tomschr committed Mar 5, 2025
1 parent 5673669 commit 2323f6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion suse2022-ns/xhtml/docbook.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,7 @@

<xsl:if test="$build.for.web = 1">
<!-- CORS issue: "https://www.suse.com/assets/css/google-fonts-suse.css?avs=1733925891" -->
<link type="text/css" rel="preload" as="style"
<link type="text/css" rel="preload" as="style" onload="this.rel='stylesheet'"
href="https://documentation.suse.com/docserv/res/fonts/suse/suse.css" />
</xsl:if>
<!-- <xsl:if test="$daps.header.js.library != ''">
Expand Down

0 comments on commit 2323f6a

Please sign in to comment.