2
0
mirror of https://github.com/Ionaru/easy-markdown-editor synced 2025-09-24 16:40:55 -06:00

Update easymde

Signed-off-by: Dmitry Mazurov <dimabzz@gmail.com>
This commit is contained in:
Dmitry Mazurov 2020-03-18 20:33:43 +03:00
parent e467bdf8f6
commit 9a4ac75668

View File

@ -2428,7 +2428,6 @@ EasyMDE.prototype.createStatusbar = function (status) {
};
onCursorActivity = function (el) {
var pos = cm.getCursor();
el.innerHTML = pos.line + ':' + pos.ch;
};
} else if (name === 'autosave') {
@ -2448,6 +2447,7 @@ EasyMDE.prototype.createStatusbar = function (status) {
dataSet: dataSet,
defaultValue: defaultValue,
onUpdate: onUpdate,
onCursorActivity: onCursorActivity,
});
}
}