Don't Leave Ancestor(s) Selected

This commit is contained in:
NOYB 2016-02-26 01:47:55 -08:00
parent 636918c95f
commit 82d4c81b0e

View File

@ -134,8 +134,10 @@ $(function() {
if ($(this).attr('title') != undefined)
q = 'Are you sure you wish to '+ $(this).attr('title').toLowerCase() + '?';
if (!confirm(q))
if (!confirm(q)) {
e.preventDefault();
e.stopPropagation(); // Don't leave ancestor(s) selected.
}
}
});