diff --git a/src/Orchard.Web/Modules/Orchard.DesignerTools/Scripts/orchard-designertools-shapetracing.js b/src/Orchard.Web/Modules/Orchard.DesignerTools/Scripts/orchard-designertools-shapetracing.js index 73b5c0235..ef77d8966 100644 --- a/src/Orchard.Web/Modules/Orchard.DesignerTools/Scripts/orchard-designertools-shapetracing.js +++ b/src/Orchard.Web/Modules/Orchard.DesignerTools/Scripts/orchard-designertools-shapetracing.js @@ -116,8 +116,8 @@ shapeTracingContainer.resizable({ handles: { n: '#shape-tracing-resize-handle' }, grid: 20, // mitigates the number of calls to syncResize(), and aligns to the line height - resize: shapeTracingEnabled = false, - stop: shapeTracingEnabled = true + resize: function () { shapeTracingEnabled = false }, + stop: function () { shapeTracingEnabled = true } }); var shapeNodes = {}; // represents the main index of shape nodes, indexed by id