Only load Tegaki from rawgit.com on user action.

This commit is contained in:
ccd0 2018-10-03 01:53:36 -07:00
parent 6027d94364
commit d20e918c22

View File

@ -55,9 +55,8 @@ QR.oekaki =
bubbles: true
detail: {file, name: FCX.oekakiName, source}
}
if $ 'link[href^="//s.4cdn.org/css/painter"]', d.head
QR.oekaki.load ->
$('#qr .oekaki').hidden = false
if window.Tegaki
document.querySelector('#qr .oekaki').hidden = false
load: (cb) ->
n = 0