Skip to content

Commit

Permalink
MDL-60268 tool_usertours: Switch to Template.append
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Oct 12, 2017
1 parent 19c0da4 commit da419ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion admin/tool/usertours/amd/build/usertours.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions admin/tool/usertours/amd/src/usertours.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ function(ajax, BootstrapTour, $, templates, str, log, notification) {
ele = $('body');
}
templates.render('tool_usertours/resettour', {})
.done(function(template) {
ele.append(template);
.done(function(html, js) {
templates.appendNodeContents(ele, html, js);
});
},

Expand Down

0 comments on commit da419ad

Please sign in to comment.