require winchan, rather than use getScript()
This commit is contained in:
parent
99e25947f9
commit
b16dadb39d
@ -13,6 +13,8 @@
|
|||||||
|
|
||||||
###
|
###
|
||||||
|
|
||||||
|
WinChan = require('./winchan.js')
|
||||||
|
|
||||||
settings = {}
|
settings = {}
|
||||||
|
|
||||||
claim_wiki = () ->
|
claim_wiki = () ->
|
||||||
@ -143,7 +145,6 @@ setup = (user) ->
|
|||||||
lastCookie = currentCookie
|
lastCookie = currentCookie
|
||||||
, 100
|
, 100
|
||||||
|
|
||||||
wiki.getScript '/security/winchan.js'
|
|
||||||
if (!$("link[href='/security/style.css']").length)
|
if (!$("link[href='/security/style.css']").length)
|
||||||
$('<link rel="stylesheet" href="/security/style.css">').appendTo("head")
|
$('<link rel="stylesheet" href="/security/style.css">').appendTo("head")
|
||||||
myInit = {
|
myInit = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user