function updateDialogPenalty(penalty) {
        var dialogText;
        dialogText = "Vous serez pénalisé de " + penalty + " points!";
        document.getElementById("dialog-penalty").innerHTML = dialogText;
    }
/**
     * Allows to set the dialog text from abandon pop up with points penalty
     * @param penalty
     */
Allows to set the dialog text from abandon pop up with points penalty
@param penalty
Allows to set the dialog text from abandon pop up with points penalty @param penalty
function updateDialogPenalty(penalty) {
        var dialogText;
        dialogText = "Vous serez pénalisé de " + penalty + " points!";
        document.getElementById("dialog-penalty").innerHTML = dialogText;
    }
function updateDialogPenalty ( penalty ) { var dialogText ; dialogText = "Vous serez pénalisé de " + p nalty + " points!"; document . getElementById ( "dialog-penalty" ) . innerHTML = dialogText ; }
Allows to set the dialog text from abandon pop up with points penalty
 @param penalty
Allows to set the dialog text from abandon pop up with points penalty @param penalty