tic-tac-toe/js/app.js
// Function for when the user moves the mouse out of the box:
Function for when the user moves the mouse out of the box.
Function for when the user moves the mouse out of the box .
function mouseLeaveBox() {
        if (player_O.turn) {
            $(this).css({
                "background-image": ""
            });
        } else if (player_X.turn) {
            $(this).css({
                "background-image": ""
            });
        }
    }
function mouseLeaveBox ( ) { if ( player_O . turn ) { $ ( this ) . css ( { "background-image" : "" } ) ; } else if ( player_X . turn ) { $ ( this ) . css ( { "background-image" : "" } ) ; } }
Function for when the user moves the mouse out of the box:
Function for when the user moves the mouse out of the box :