diff --git a/public/img/favicon.ico b/public/favicon.ico similarity index 100% rename from public/img/favicon.ico rename to public/favicon.ico diff --git a/views/project.ejs b/views/project.ejs index 6f91742..d10e6ca 100644 --- a/views/project.ejs +++ b/views/project.ejs @@ -441,7 +441,7 @@ let obj = document.getElementById(cur_obj); if(obj != null){ let cur_layer = obj.style.zIndex; - if (type == "up" && cur_layer < 99999){ + if (type == "up" && cur_layer < 9999){ objs[obj.classList[0]][obj.getAttribute("id")].layer = parseInt(cur_layer) + 1; obj.style.zIndex = parseInt(cur_layer) + 1; document.getElementById("layer_inp").value = parseInt(cur_layer) + 1; @@ -452,7 +452,7 @@ } else if ((type == "inp")){ let inp_val = parseInt(document.getElementById("layer_inp").value); - if(inp_val >= 0 && inp_val < 99999){ + if(inp_val >= 0 && inp_val < 9999){ objs[obj.classList[0]][obj.getAttribute("id")].layer = inp_val; obj.style.zIndex = inp_val; }