From b6c967bc5c0ac95c44e6110d5918acab7cb870c9 Mon Sep 17 00:00:00 2001 From: Jason Skomorowski Date: Mon, 4 Aug 2014 10:35:36 -0400 Subject: [PATCH] Warn, don't fail, on missing template --- src/mkws-team.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mkws-team.js b/src/mkws-team.js index 52f2ee5..3f610cf 100644 --- a/src/mkws-team.js +++ b/src/mkws-team.js @@ -413,7 +413,8 @@ function team($, teamName) { return template; } else { - alert("Missing MKWS template for " + name); + mkws.log("No MKWS template for " + name); + return null; } } that.loadTemplate = loadTemplate; -- 1.7.10.4