function leaflet_alert() {
    alert("By using the map you take full responsibility of the risks involved");
}

function leaflet_alert() {
    alert("The users take full responsibility of using the map for outdoor activities");
}

Update custom_funct.js