1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Fix canvas focus issue on FF/IE

This commit is contained in:
Nick O'Leary 2015-06-17 22:52:04 +01:00
parent c00558ea1b
commit 0e12fc6b02

View File

@ -71,7 +71,7 @@ RED.view = (function() {
.attr("pointer-events", "all") .attr("pointer-events", "all")
.style("cursor","crosshair") .style("cursor","crosshair")
.on("mousedown", function() { .on("mousedown", function() {
this.focus(); $(this).focus();
}); });
var vis = outer var vis = outer