From f9269251b1400fda0143284902f8a6d4cce195f0 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Fri, 11 Apr 2014 11:57:47 +0100 Subject: [PATCH] Don't decorate teamless widget nodes with mkwsTeam_AUTO. --- src/mkws-core.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/mkws-core.js b/src/mkws-core.js index a030d5b..fd0c0de 100644 --- a/src/mkws-core.js +++ b/src/mkws-core.js @@ -371,15 +371,6 @@ mkws.pagerNext = function(tname) { } } - // For all MKWS-classed nodes that don't have a team - // specified, set the team to AUTO. - $('[class^="mkws"],[class*=" mkws"]').each(function() { - if (!this.className.match(/mkwsTeam_/)) { - log("adding AUTO team to node with class '" + this.className + "'"); - $(this).addClass('mkwsTeam_AUTO'); - } - }); - // Find all nodes with an MKWS class, and determine their team from // the mkwsTeam_* class. Make all team objects. var then = $.now(); -- 1.7.10.4