소스 검색

rajouter la racine des ul dans index.html

master
tibo 6 년 전
부모
커밋
d812ff0a69
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. +6
    -0
      index.html

+ 6
- 0
index.html 파일 보기

@ -43,9 +43,15 @@ function afficherArbre()
var heritage = [ 'XXX' ];
var m14_ul = [ document.getElementById('smeti_list') ];
var m14_span = [ null ];
var ul = document.createElement('ul');
while(m14_ul[0].firstChild) m14_ul[0].removeChild(m14_ul[0].firstChild);
// Ajouter la racine des UL
ul.setAttribute('class','ul_no_list');
m14_ul[m14_ul.length-1].appendChild(ul);
m14_ul.push(ul);
liste_instructions.forEach(function(element){
// if (element.instruction != 'M14') return true;
// if (element.type != courant) return true;

불러오는 중...
취소
저장