Skip to content

Commit be5020c

Browse files
committed
Merge pull request #26 from el-davo/master
Fixed issue with custom template not working
2 parents 106c5a0 + d6c17d1 commit be5020c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

app/tour_helpers.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
} else if (attrs[helpers.getAttrName('templateUrl')]) {
9797
lookupTemplate(attrs[helpers.getAttrName('templateUrl')], scope).then(function (template) {
9898
if (template) {
99-
options.template = template;
99+
options.template = template.data;
100100
deferred.resolve(template);
101101
}
102102
});

dist/angular-bootstrap-tour.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@
331331
} else if (attrs[helpers.getAttrName('templateUrl')]) {
332332
lookupTemplate(attrs[helpers.getAttrName('templateUrl')], scope).then(function (template) {
333333
if (template) {
334-
options.template = template;
334+
options.template = template.data;
335335
deferred.resolve(template);
336336
}
337337
});

dist/angular-bootstrap-tour.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)