Auto-format of the code

pull/101/head
Jeroen Akkerman 5 years ago
parent 6c66b54e2a
commit f1b6a42561

@ -1961,6 +1961,7 @@ EasyMDE.prototype.openBrowseFileWindow = function(onSuccess, onError) {
self.uploadImages(event.target.files, onSuccess, onError);
imageInput.removeEventListener('change', onChange);
}
imageInput.addEventListener('change', onChange);
};
@ -1978,6 +1979,7 @@ EasyMDE.prototype.uploadImage = function(file, onSuccess, onError) {
onSuccess = onSuccess || function onSuccess(imageUrl) {
afterImageUploaded(self, imageUrl);
};
function onErrorSup(errorMessage) {
// show error on status bar and reset after 1000ms
self.updateStatusBar('upload-image', errorMessage);

Loading…
Cancel
Save