We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a6a4839 + fb01490 commit a9c6828Copy full SHA for a9c6828
README.md
@@ -87,7 +87,7 @@ A simple example using [loadcss-rails](https://github.com/michael-misshore/loadc
87
<script>
88
loadCSS("<%= stylesheet_path('application') %>");
89
</script>
90
-<link rel="preload" href="<%= stylesheet_path('application') %>" as="style" onload="this.rel='stylesheet'">
+<link rel="preload" href="<%= stylesheet_path('application') %>" as="style" onload="this.onload=null;this.rel='stylesheet'">
91
<noscript>
92
<link rel="stylesheet" href="<%= stylesheet_path('application') %>">
93
</noscript>
0 commit comments