From 349e19d948afcea4dd0b35c693a0f15a8d00d757 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Tue, 29 Apr 2014 13:41:24 +0100 Subject: [PATCH] Call mkwsSetLang separately from mkwsHtmlAll. --- src/mkws-team.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mkws-team.js b/src/mkws-team.js index ac427e5..81877bc 100644 --- a/src/mkws-team.js +++ b/src/mkws-team.js @@ -353,8 +353,6 @@ function team($, teamName) { * result pages. */ function mkwsHtmlAll() { - mkwsSetLang(); - var container = findnode(".mkwsMOTDContainer"); if (container.length) { // Move the MOTD from the provided element down into the container @@ -574,6 +572,7 @@ function team($, teamName) { } mkwsHtmlAll() + mkwsSetLang(); return that; }; -- 1.7.10.4