From b16dadb39d0b7f4db6978b88b9843b201b990575 Mon Sep 17 00:00:00 2001 From: Paul Rodwell Date: Mon, 5 Aug 2024 14:04:39 +0100 Subject: [PATCH] require winchan, rather than use getScript() --- client/security.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/security.coffee b/client/security.coffee index e82230a..f0d6dd1 100644 --- a/client/security.coffee +++ b/client/security.coffee @@ -13,6 +13,8 @@ ### +WinChan = require('./winchan.js') + settings = {} claim_wiki = () -> @@ -143,7 +145,6 @@ setup = (user) -> lastCookie = currentCookie , 100 - wiki.getScript '/security/winchan.js' if (!$("link[href='/security/style.css']").length) $('').appendTo("head") myInit = {