function removeDie(die) {
    // fade out and remove
    die.hide(200, function(){
        die.remove();

        // if no dice left: hide "total"
        if ($("#table .die").length == 0){
            $("#total").fadeOut(200);
        }

    });
}
// fnc to remove a die from table
fnc to remove a die from table
fnc to remove a die from table
function removeDie(die) {
    die.hide(200, function(){
        die.remove();
        if ($("#table .die").length == 0){
            $("#total").fadeOut(200);
        }
    });
}
function removeDie ( die ) { die . hide ( 200 , function ( ) { die . remove ( ) ; if ( $ ( "#table .die" ) . length == 0 ) { $ ( "#total" ) . fadeOut ( 200 ) ; } } ) ; }
fnc to remove a die from table
fnc to remove a die from table
// fade out and remove // if no dice left: hide "total"