[bug]repair expert mode - had removed too much

This commit is contained in:
BigEd 2010-11-08 09:14:18 +00:00
parent 3804eace6e
commit d2a31398fd
2 changed files with 9 additions and 1 deletions

View File

@ -82,6 +82,7 @@ function setup_part2(){
setupNodes();
setupTransistors();
setupParams();
setupExpertMode();
detectOldBrowser();
setStatus('loading graphics...');
setTimeout(setup_part3, 0);
@ -343,6 +344,14 @@ function updateLoglevel(value){
initLogbox(logThese);
}
function setupExpertMode(isOn){
document.getElementById('expertControlPanel').style.display = 'block';
if(loglevel==0)
updateLoglevel(1);
if(chipLayoutIsVisible)
document.getElementById('layoutControlPanel').style.display = 'block';
}
var chipsurround;
function updateChipLayoutVisibility(isOn){

View File

@ -188,7 +188,6 @@ function updateLogList(names){
if(typeof busToString(names[i]) != "undefined")
logThese.push(names[i]);
}
console.log(logThese);
initLogbox(logThese);
}