From d20e918c22cd1f361b91b67c5f340d6557fcf04e Mon Sep 17 00:00:00 2001 From: ccd0 Date: Wed, 3 Oct 2018 01:53:36 -0700 Subject: [PATCH] Only load Tegaki from rawgit.com on user action. --- src/Posting/QR.oekaki.coffee | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Posting/QR.oekaki.coffee b/src/Posting/QR.oekaki.coffee index 5c89589eb..cfb602d71 100644 --- a/src/Posting/QR.oekaki.coffee +++ b/src/Posting/QR.oekaki.coffee @@ -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