Skip to content

Commit 1a4a504

Browse files
committed
Merge branch 'patch-2' of github.com:dee-see/letter_opener_web into next
Conflicts: app/views/layouts/letter_opener_web/_javascripts.html.erb
2 parents 13565e3 + c535f35 commit 1a4a504

File tree

3 files changed

+5
-554
lines changed

3 files changed

+5
-554
lines changed

app/views/layouts/letter_opener_web/_javascripts.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<%= render "layouts/letter_opener_web/js/jquery" %>
22
<%= render "layouts/letter_opener_web/js/favcount" %>
33

4-
<script>
4+
<script nonce="<%= content_security_policy_nonce %>">
55
function update_favicon(favicon) {
66
favicon.set($('.letter-opener a').length);
77
}

app/views/layouts/letter_opener_web/js/_favcount.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<script>
1+
<script nonce="<%= content_security_policy_nonce %>">
22
/*
33
* favcount.js v1.5.0
44
* http://chrishunt.co/favcount

app/views/layouts/letter_opener_web/js/_jquery.html.erb

Lines changed: 3 additions & 552 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)