1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2025-07-27 02:59:47 +02:00
This commit is contained in:
Xuan Sang LE
2018-08-28 15:07:46 +02:00
parent 0817dd6079
commit 1f57e18fc7
2 changed files with 4 additions and 5 deletions

View File

@ -117,8 +117,7 @@
MarkOn = (function(superClass) {
extend(MarkOn, superClass);
function MarkOn(id) {
this.id = id;
function MarkOn() {
MarkOn.__super__.constructor.call(this, "MarkOn");
}
@ -127,7 +126,7 @@
me = this;
return this.ready().then(function() {
return me.editor = new SimpleMDE({
element: $(me.id)[0]
element: $("#editor")[0]
});
})["catch"](function(m, s) {
return console.error(m, s);