diff --git a/assets/tracer.js b/assets/tracer.js index fa57884..fbb517c 100644 --- a/assets/tracer.js +++ b/assets/tracer.js @@ -160,7 +160,11 @@ extendZone({ if(ownerInfo) { zone.setOwnerArgs(validateArgs(this, arguments)); } - return zone.run(func, this, arguments); + + // donĀ“t run if callback is a object + if (typeof func !== "object") { + return zone.run(func, this, arguments); + } }; }, diff --git a/assets/zone.js b/assets/zone.js index a39edce..4e765ee 100644 --- a/assets/zone.js +++ b/assets/zone.js @@ -221,7 +221,8 @@ function apply() { 'prompt' ]); - eventTargetPatch.apply(); + // disabled becouse this let not apply event functions anymore (e.g. sortablejs) + // eventTargetPatch.apply(); propertyDescriptorPatch.apply();