src/visualizer-legacy/static/3dmol/js/3dmol.js
//Turn on the surface for the current selected surface
Turn on the surface for the current selected surface
Turn on the surface for the current selected surface
function on_surface(){
        var e = document.getElementById("selected_surface");
        var x = e.options[e.selectedIndex].value;
        if (x == 'SAS')
            protein.surface = $3Dmol.SurfaceType.SAS;
        else if (x == 'SES')
            protein.surface = $3Dmol.SurfaceType.SES;
        else if (x == 'VDW')
            protein.surface = $3Dmol.SurfaceType.VDW;
        set_color();
    }
function on_surface ( ) { var e = document . getElementById ( "selected_surface" ) ; var x = e . options [ e . selectedIndex ] . value ; if ( x == 'SAS' ) protein . surface = $3Dmol . SurfaceType . SAS ; else if ( x == 'SES' ) protein . surface = $3Dmol . SurfaceType . SES ; else if ( x == 'VDW' ) protein . surface = $3Dmol . SurfaceType . VDW ; set_color ( ) ; }
Turn on the surface for the current selected surface
Turn on the surface for the current selected surface