From a46a723b090172eef3e23055aa3d42933c83fecb Mon Sep 17 00:00:00 2001 From: John McLear Date: Sun, 4 Dec 2011 15:26:14 +0000 Subject: [PATCH] slight clean up --- static/js/pad2.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/static/js/pad2.js b/static/js/pad2.js index 6f398bade..eb8e3a8cb 100644 --- a/static/js/pad2.js +++ b/static/js/pad2.js @@ -102,7 +102,6 @@ function getParams() $('#editorcontainer').css({"top":"0px"}); } } - if(showChat) { if(showChat == "false") @@ -110,7 +109,6 @@ function getParams() $('#chaticon').hide(); } } - if(showLineNumbers) { if(showLineNumbers == "false") @@ -118,7 +116,6 @@ function getParams() LineNumbersDisabled = true; } } - if(useMonospaceFont) { if(useMonospaceFont == "true") @@ -126,8 +123,6 @@ function getParams() useMonospaceFontGlobal = true; } } - - if(userName) { // If the username is set as a parameter we should set a global value that we can call once we have initiated the pad.