User:Tsumiki/scripts/confirmLogout.js

// Copied from User:Fred_Gandt/confirmLogout.js at 23:18, 27 February 2019 (UTC) $( document ).ready( function {	"use strict";	document.getElementById( "pt-logout" ).addEventListener( "click", function( evt ) { if ( !confirm( "Are you sure you want to logout?" ) ) {			evt.preventDefault; }	} ); } );