From 30c30740d7bb6e361f1e625774bc10f577021656 Mon Sep 17 00:00:00 2001 From: azanbinzahid Date: Mon, 14 Dec 2020 18:30:08 +0500 Subject: [PATCH] PROD-2203 --- .../js/student_account/views/HintedLoginView.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/lms/static/js/student_account/views/HintedLoginView.js b/lms/static/js/student_account/views/HintedLoginView.js index 74793304e9..720ded988b 100644 --- a/lms/static/js/student_account/views/HintedLoginView.js +++ b/lms/static/js/student_account/views/HintedLoginView.js @@ -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; },