Skip to content

Commit 1a6b9a1

Browse files
committed
lint
1 parent 0712077 commit 1a6b9a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/fetch_response.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ export class FetchResponse {
8080
async activeScript () {
8181
if (this.isScript) {
8282
const script = document.createElement('script')
83-
const metaTag = document.querySelector("meta[name=csp-nonce]");
84-
const nonce = metaTag && metaTag.content;
85-
if (nonce) { script.setAttribute("nonce", nonce) }
83+
const metaTag = document.querySelector('meta[name=csp-nonce]')
84+
const nonce = metaTag && metaTag.content
85+
if (nonce) { script.setAttribute('nonce', nonce) }
8686
script.innerHTML = await this.text
8787
document.body.appendChild(script)
8888
} else {

0 commit comments

Comments
 (0)