From 3bbfb7a75e2f2add17679883ebecd419b692fb2a Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Mon, 28 Apr 2014 17:29:45 +0100 Subject: [PATCH] Completely remove the mkwsHtmlSwitch() function, since all it did was generate the mkwsTargets inner HTML, which the widget now does for itself. --- src/mkws-team.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/mkws-team.js b/src/mkws-team.js index d52cc00..d0ebcc5 100644 --- a/src/mkws-team.js +++ b/src/mkws-team.js @@ -412,8 +412,6 @@ function team($, teamName) { ranking_data += ''; findnode(".mkwsRanking").html(ranking_data); - mkwsHtmlSwitch(); - findnode('.mkwsSearchForm').submit(function() { var val = widgetNode('Query').val(); newSearch(val); @@ -549,17 +547,6 @@ function team($, teamName) { } - function mkwsHtmlSwitch() { - log("HTML targets"); - var node = findnode(".mkwsTargets"); - node.html('\ -
\ - No information available yet.\ -
'); - node.css("display", "none"); - } - - // Translation function. At present, this is properly a // global-level function (hence the assignment to mkws.M) but we // want to make it per-team so different teams can operate in -- 1.7.10.4