From 0e12fc6b022ff1264f77f3528440bbd10042cf7b Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Wed, 17 Jun 2015 22:52:04 +0100 Subject: [PATCH] Fix canvas focus issue on FF/IE --- editor/js/ui/view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/js/ui/view.js b/editor/js/ui/view.js index 3a84c1b73..41a3d7ad1 100644 --- a/editor/js/ui/view.js +++ b/editor/js/ui/view.js @@ -71,7 +71,7 @@ RED.view = (function() { .attr("pointer-events", "all") .style("cursor","crosshair") .on("mousedown", function() { - this.focus(); + $(this).focus(); }); var vis = outer