function toggleList(btId){
            if (Me.hazardList.className === 'list'+" "+'list2') {Me.hazardList.className = "list";console.log(Me.hazardList.className)}
            else{
                Me.hazardList.className = 'list'+" "+ 'list2';console.log(Me.hazardList.className);
            };
        }
//this is a sample toggle function to see if it works
this is a sample toggle function to see if it works
this is a sample toggle function to see if it works
function toggleList(btId){
            if (Me.hazardList.className === 'list'+" "+'list2') {Me.hazardList.className = "list";console.log(Me.hazardList.className)}
            else{
                Me.hazardList.className = 'list'+" "+ 'list2';console.log(Me.hazardList.className);
            };
        }
function toggleList ( btId ) { if ( Me . hazardList . className === 'list' + " " + 'list2' ) { Me . hazardList . className = "list" ; console . log ( Me . hazardList . className ) } else { Me . hazardList . className = 'list' + " " + 'list2' ; console . log ( Me . hazardList . className ) ; } ; }
this is a sample toggle function to see if it works
this is a sample toggle function to see if it works