Skip to content

Commit 6c84500

Browse files
committedMar 19, 2015
fixed template compilation
1 parent ff18966 commit 6c84500

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed
 

‎app/tour_helpers.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,7 @@
3636
function compileTemplate(template, scope) {
3737
return function (/*index, step*/) {
3838
var $template = angular.element(template); //requires jQuery
39-
safeApply(scope, function () {
40-
$compile($template)(scope);
41-
});
42-
return $template;
39+
return $compile($template)(scope);
4340
};
4441

4542
}

0 commit comments

Comments
 (0)