From 7230df2f7e91720f6e561420b9e9b6dcccad1796 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Fri, 7 Feb 2014 16:03:55 +0000 Subject: [PATCH] Remove old, no-longer-needed logging. --- tools/htdocs/mkws.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js index 6ef2d5c..08ffb8a 100644 --- a/tools/htdocs/mkws.js +++ b/tools/htdocs/mkws.js @@ -426,7 +426,6 @@ function team($, teamName) { }); if (document.mkwsSelect) { - debug("messing with mkwsSelect"); if (document.mkwsSelect.mkwsSort) document.mkwsSelect.mkwsSort.onchange = onSelectDdChange; if (document.mkwsSelect.mkwsPerpage) @@ -954,15 +953,12 @@ function team($, teamName) { $(document).ready(function() { mkws.resize_page() }); } - debug("before domReady()"); domReady(); - debug("after domReady()"); // on first page, hide the termlist $(document).ready(function() { $(".mkwsTermlists.mkwsTeam_" + m_teamName).hide(); }); var motd = $(".mkwsMOTD.mkwsTeam_" + m_teamName); var container = $(".mkwsMOTDContainer.mkwsTeam_" + m_teamName); - debug("for team '" + m_teamName + "', motd=" + motd + "(" + motd.length + "), container=" + container + "(" + container.length + ")"); if (motd.length && container.length) { // Move the MOTD from the provided element down into the container motd.appendTo(container); @@ -1492,9 +1488,7 @@ function _mkws_jquery_plugin ($) { $('[class^="mkws"],[class*=" mkws"]').each(function () { var node = this; mkws.handle_node_with_team(node, function(tname) { - if (mkws.teams[tname]) { - log("MKWS team '" + tname + "' already exists, skipping"); - } else { + if (!mkws.teams[tname]) { mkws.teams[tname] = team(j, tname); log("Made MKWS team '" + tname + "'"); } -- 1.7.10.4