Remove document.write’s to allow CSP to be re-enabled
This commit is contained in:
parent
6befc9b075
commit
a73e3c76dc
2 changed files with 3 additions and 4 deletions
|
@ -28,10 +28,6 @@ New Note «
|
|||
@stop
|
||||
|
||||
@section('scripts')
|
||||
<script>
|
||||
window.Promise || document.write('<script src="https://unpkg.com/promise-polyfill/promise.min.js"><\/script>');
|
||||
window.fetch || document.write('<script src="https://unpkg.com/whatwg-fetch/fetch.js"><\/script>');
|
||||
</script>
|
||||
<script defer src="/assets/js/newnote.js"></script>
|
||||
|
||||
<link rel="stylesheet" href="/assets/frontend/alertify.css">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue