Skip to content
Snippets Groups Projects
Commit 8f252c29 authored by rswindell's avatar rswindell
Browse files

Define "options" variable to avoid conflicts/clobber in the global namespace.

parent 404ed9a9
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,7 @@
load("sbbsdefs.js");
var options;
if((options=load("modopts.js","login")) == null)
options={email_passwords: true};
......
......@@ -7,6 +7,7 @@
// @format.tab-size 8, @format.use-tabs true
load("sbbsdefs.js");
var options;
options=load("modopts.js","newuser");
qnet=false;
......
......@@ -25,6 +25,7 @@ var xsec=-1;
}
}
var options;
if((options=load("modopts.js","xtrn_sec")) == null)
options = {multicolumn: true, sort: false}; // default values
......
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