Commit e472631c authored by eternal-flame-AD's avatar eternal-flame-AD

Update everypage integrity

parent fb047ffa
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
keys.push(key) keys.push(key)
} }
let is_async = options?!!options.async:false let is_async = options?!!options.async:false
let integrity = options?!!options.integrity:undefined let integrity = options?options.integrity:undefined
let elt =document.createElement('script'); let elt =document.createElement('script');
elt.charset='utf-8'; elt.charset='utf-8';
elt.async = is_async; elt.async = is_async;
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
} }
keys.push(key) keys.push(key)
} }
let integrity = options?!!options.integrity:undefined let integrity = options?options.integrity:undefined
let elt =document.createElement('link') let elt =document.createElement('link')
elt.rel = 'stylesheet' elt.rel = 'stylesheet'
elt.crossOrigin = "anonymous" elt.crossOrigin = "anonymous"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment