PROD-2203

This commit is contained in:
azanbinzahid
2020-12-14 18:30:08 +05:00
committed by Ali-D-Akbar
parent 027ea1373d
commit 30c30740d7

View File

@@ -1,7 +1,7 @@
(function(define) {
'use strict';
define(['jquery', 'underscore', 'backbone'],
function($, _, Backbone) {
define(['jquery', 'underscore', 'backbone', 'edx-ui-toolkit/js/utils/html-utils'],
function($, _, Backbone, HtmlUtils) {
return Backbone.View.extend({
el: '#hinted-login-form',
@@ -22,10 +22,12 @@
},
render: function() {
$(this.el).html(_.template(this.tpl)({
hintedProvider: this.hintedProvider
}));
HtmlUtils.setHtml(
$(this.el),
HtmlUtils.template(this.tpl)({
hintedProvider: this.hintedProvider
})
);
return this;
},