User:SimmeD/Scripts/confirm logout.js

// Made by Simeondahl

/* * This script will make you confirm if you want to logout! */ // Sidst opdateret d. 27. januar 2020 $(".pt-logout").on('click', function(e) {	if(!confirm("Are you sure you want to logout?")) {		return e.preventDefault;	} });