xjj 2 роки тому
батько
коміт
9e2713494b
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      src/controllers/menuButton.js

+ 1 - 1
src/controllers/menuButton.js

@@ -3708,7 +3708,7 @@ const menuButton = {
             "13": "Thick"
         };
 
-        type = borderType[type.toString()];
+        type = borderType[type? type.toString(): "0"];
 
     	try {
         	if(type == "Hair"){