Extract getUrlVars() function calls to a local var
This commit is contained in:
parent
ce4d9df665
commit
8e7e74170e
|
@ -79,12 +79,13 @@ function randomString()
|
||||||
|
|
||||||
function getParams()
|
function getParams()
|
||||||
{
|
{
|
||||||
var showControls = getUrlVars()["showControls"];
|
var params = getUrlVars()
|
||||||
var showChat = getUrlVars()["showChat"];
|
var showControls = params["showControls"];
|
||||||
var userName = getUrlVars()["userName"];
|
var showChat = params["showChat"];
|
||||||
var showLineNumbers = getUrlVars()["showLineNumbers"];
|
var userName = params["userName"];
|
||||||
var useMonospaceFont = getUrlVars()["useMonospaceFont"];
|
var showLineNumbers = params["showLineNumbers"];
|
||||||
var IsnoColors = getUrlVars()["noColors"];
|
var useMonospaceFont = params["useMonospaceFont"];
|
||||||
|
var IsnoColors = params["noColors"];
|
||||||
|
|
||||||
if(IsnoColors)
|
if(IsnoColors)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue