We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 13565e3 + c535f35 commit 1a4a504Copy full SHA for 1a4a504
app/views/layouts/letter_opener_web/_javascripts.html.erb
@@ -1,7 +1,7 @@
1
<%= render "layouts/letter_opener_web/js/jquery" %>
2
<%= render "layouts/letter_opener_web/js/favcount" %>
3
4
-<script>
+<script nonce="<%= content_security_policy_nonce %>">
5
function update_favicon(favicon) {
6
favicon.set($('.letter-opener a').length);
7
}
app/views/layouts/letter_opener_web/js/_favcount.html.erb
@@ -1,4 +1,4 @@
/*
* favcount.js v1.5.0
* http://chrishunt.co/favcount
app/views/layouts/letter_opener_web/js/_jquery.html.erb
0 commit comments