From b5ee321e0afc4c69e48a271c79cfd98c78da9f91 Mon Sep 17 00:00:00 2001 From: xufenglei <xufenglei> Date: Thu, 12 Jul 2018 15:44:29 +0800 Subject: [PATCH] demo --- src/main/webapp/js/moralmap.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/webapp/js/moralmap.js b/src/main/webapp/js/moralmap.js index 975ed08..276078c 100644 --- a/src/main/webapp/js/moralmap.js +++ b/src/main/webapp/js/moralmap.js @@ -436,7 +436,7 @@ state = stateObj["state"]; stateName = stateObj["stateName"]; var name = e['name']; - if(moralMap.getUtf8Length(name) > 24) { + if(moralMap.getUtf8Length(name) > 22) { var stop1 = 0; for(var stop1_i = 0, len = 0; stop1_i < name.length; stop1_i++) { len += ((name.charCodeAt(stop1_i) & 0xff00) != 0) ? 2 : 1; -- Gitblit v1.8.0