PROD-2216

This commit is contained in:
Ali-D-Akbar
2020-12-31 11:36:39 +05:00
parent 469dc71f6d
commit 1cd5e06294

View File

@@ -1,20 +1,13 @@
(function(requirejs, require, define) {
define([], function() {
define(['edx-ui-toolkit/js/utils/html-utils'], function(HtmlUtils) {
return Container;
function Container(state) {
state.containerEl = $(
'<div ' +
'style=" ' +
'clear: both; ' +
'width: 665px; ' +
'margin-left: auto; ' +
'margin-right: auto; ' +
'" ' +
'></div>'
);
'<div style=" clear: both; width: 665px; margin-left: auto; margin-right: auto; " ></div>'
);
$('#inputtype_' + state.problemId).before(state.containerEl);
$('#inputtype_' + state.problemId).before(HtmlUtils.HTML(state.containerEl).toString());
}
}); // End-of: define([], function () {
}(RequireJS.requirejs, RequireJS.require, RequireJS.define)); // End-of: (function (requirejs, require, define) {