From cb2121b7c4f71646977818645457a5adb444fb50 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Wed, 28 May 2014 18:02:44 -0700 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20preventDefault=20on=20mousedown?= =?UTF-8?q?=20(fixes=20#2115)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This prevents blur events from getting properly dispatched. --- js/id/behavior/lasso.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/js/id/behavior/lasso.js b/js/id/behavior/lasso.js index c82bdd8cb..4e183b3aa 100644 --- a/js/id/behavior/lasso.js +++ b/js/id/behavior/lasso.js @@ -16,8 +16,6 @@ iD.behavior.Lasso = function(context) { .on('mouseup.lasso', mouseup); d3.event.stopPropagation(); - d3.event.preventDefault(); - } }