refactor: Use explicit path when referencing handlebars templates.

This commit is contained in:
Thomas Ip
2019-06-29 12:20:19 +08:00
committed by Tim Abbott
parent 8c199fd44c
commit f6aaf43029
28 changed files with 120 additions and 125 deletions

View File

@@ -64,7 +64,7 @@ exports.activate = function (opts) {
choice.idx = idx;
});
var html = templates.render('zform-choices', data);
var html = templates.render('widgets/zform-choices', data);
var elem = $(html);
elem.find('button').on('click', function (e) {