From 4fc568856a6b8eab97dfb5b8cd12ce72d9aaa96c Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Mon, 11 Jan 2016 11:00:54 +0000 Subject: [PATCH] Clear link_splice style on drag end --- editor/js/ui/palette.js | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/js/ui/palette.js b/editor/js/ui/palette.js index a1d130adf..4230310a3 100644 --- a/editor/js/ui/palette.js +++ b/editor/js/ui/palette.js @@ -223,6 +223,7 @@ RED.palette = (function() { revert: true, revertDuration: 50, start: function() {RED.view.focus();}, + stop: function() { d3.select('.link_splice').classed('link_splice',false); if (spliceTimer) { clearTimeout(spliceTimer); spliceTimer = null;}}, drag: function(e,ui) { // TODO: this is the margin-left of palette node. Hard coding // it here makes me sad