Commits

Kenneth Love committed 4e7ff8f

changes to javascript delete to make it cross-browser friendly

Comments (0)

Files changed (1)

templates/key.html

 		});
 
 		$("#delete").live('click', function(e) {
+			e.stopPropagation();
+			e.preventDefault();
+
 			var link = $(this).attr("href"),
 				confirmation = confirm('Are you sure you want to delete this key?');
 
-			e.preventDefault();
-
 			flashes.empty();
 
 			if (confirmation) {