diff --git a/phantomas_custom/core/scopeYLT/scopeYLT.js b/phantomas_custom/core/scopeYLT/scopeYLT.js index d6bd690..22af662 100644 --- a/phantomas_custom/core/scopeYLT/scopeYLT.js +++ b/phantomas_custom/core/scopeYLT/scopeYLT.js @@ -110,7 +110,7 @@ exports.module = function(phantomas) { // Save given data in the current context and jump change current context to its parent function leaveContext() { if (depth === 1 || deepAnalysis) { - currentContext.time = Date.now() - currentContext.data.timestamp; + currentContext.data.time = Date.now() - currentContext.data.timestamp; var parent = currentContext.parent; if (parent === null) { console.error('Error: trying to close root context in ContextTree');