Merge pull request #2688 from NOYB/Don't_Leave_Ancestor(s)_Selected

This commit is contained in:
Stephen Beaver 2016-02-26 08:42:45 -05:00
commit 02afb60b8b

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.
}
}
});