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"){