mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-06-30 00:45:14 +08:00
Fix #95 Sd list is not working with smoothie
due to output format difference
This commit is contained in:
parent
352740156c
commit
700f395cab
@ -353,7 +353,7 @@ var i;
|
||||
for (i = 0; i < jsonresponse.length; i++){
|
||||
content =jsonresponse[i].entry;
|
||||
var tcontent=content.split(" ");
|
||||
if (tcontent.length==2){
|
||||
if ((tcontent.length==2) || (tcontent.length==1 && tcontent[0].indexOf("/")==-1)){
|
||||
list2display+="<OPTION value=\"";
|
||||
list2display+=tcontent[0];
|
||||
list2display+="\">";
|
||||
|
Loading…
x
Reference in New Issue
Block a user