From 402d7f95425ea77757770acb3d0c6626cb1eb050 Mon Sep 17 00:00:00 2001 From: Mike Primm Date: Wed, 7 Sep 2011 21:07:30 -0500 Subject: [PATCH] Fix message for version mismatch, and abort UI if it fails --- web/js/map.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/js/map.js b/web/js/map.js index e1342f01..23635ebd 100644 --- a/web/js/map.js +++ b/web/js/map.js @@ -290,8 +290,9 @@ DynMap.prototype = { if(dynmapversion != me.options.dynmapversion) { me.alertbox - .text('Web files are not matched with plugin version: All files need to be same version (' + me.options.dynmapverion + ')') + .text('Web files are not matched with plugin version: All files need to be same version (' + me.options.dynmapversion + ')') .show(); + return; } me.selectMap(me.defaultworld.defaultmap);