Skip to content
Snippets Groups Projects
Commit 224c9432 authored by deuce's avatar deuce
Browse files

Use js.global.load() in case we get load()ed inside a scope so load() isn't

a function.
parent 2ebbc4de
No related branches found
No related tags found
No related merge requests found
......@@ -113,7 +113,7 @@ var CallSign={
Hamcall:function(callsign) {
var req=new HTTPRequest();
var config = load("modopts.js","hamcall");
var config = js.global.load("modopts.js","hamcall");
req.SetupGet('http://hamcall.net/call?callsign='+callsign);
req.request_headers.push("Cookie: callsign="+config.callsign+'; password='+config.password);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment