Fix MathJax on /sci/. #1356
This commit is contained in:
parent
4ea38d5ac6
commit
711750749f
@ -418,6 +418,11 @@ Settings =
|
||||
setD 'Require OP Quote Link', true
|
||||
if compareString < '00001.00013.00008.00000'
|
||||
setD 'Download Link', true
|
||||
if compareString < '00001.00013.00008.00007'
|
||||
if data['jsWhitelist']?
|
||||
list = data['jsWhitelist'].split('\n')
|
||||
if 'https://cdnjs.cloudflare.com' not in list and 'https://cdn.mathjax.org' in list
|
||||
set 'jsWhitelist', data['jsWhitelist'] + '\n\nhttps://cdnjs.cloudflare.com'
|
||||
changes
|
||||
|
||||
loadSettings: (data, cb) ->
|
||||
|
||||
@ -827,6 +827,7 @@ Config =
|
||||
https://www.gstatic.com
|
||||
http://cdn.mathjax.org
|
||||
https://cdn.mathjax.org
|
||||
https://cdnjs.cloudflare.com
|
||||
'self'
|
||||
'unsafe-inline'
|
||||
'unsafe-eval'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user