PROD-2207
This commit is contained in:
committed by
Ali-D-Akbar
parent
9ca5df8666
commit
3cb1260fbd
@@ -4,8 +4,9 @@
|
||||
'underscore',
|
||||
'backbone',
|
||||
'gettext',
|
||||
'js/discovery/views/course_card'
|
||||
], function($, _, Backbone, gettext, CourseCardView) {
|
||||
'js/discovery/views/course_card',
|
||||
'edx-ui-toolkit/js/utils/html-utils'
|
||||
], function($, _, Backbone, gettext, CourseCardView, HtmlUtils) {
|
||||
'use strict';
|
||||
|
||||
return Backbone.View.extend({
|
||||
@@ -38,7 +39,10 @@
|
||||
var item = new CourseCardView({model: result});
|
||||
return item.render().el;
|
||||
}, this);
|
||||
this.$list.append(items);
|
||||
HtmlUtils.append(
|
||||
this.$list,
|
||||
HtmlUtils.HTML(items)
|
||||
);
|
||||
/* eslint no-param-reassign: [2, { "props": false }] */
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user