diff --git a/submodules/strategy/strategy.js b/submodules/strategy/strategy.js index 3e265f8..0c6cca5 100644 --- a/submodules/strategy/strategy.js +++ b/submodules/strategy/strategy.js @@ -726,11 +726,11 @@ define(function(require) { }, template; - _.each(self.weekdayLabels, function(val) { - if (strategyData.temporalRules.weekdays[val].id in strategyData.callflows.MainCallflow.flow.children) { - templateData.afterhours = true; - } - }); + _.each(self.weekdayLabels, function(val) { + if (strategyData.temporalRules.weekdays[val].id in strategyData.callflows.MainCallflow.flow.children) { + templateData.afterhours = true; + } + }); template = $(monster.template(self, 'strategy-' + templateName, templateData));