Fix image import from Nextcloud

This commit is contained in:
Wolfgang Ginolas 2024-10-02 09:41:03 +02:00 committed by wginolas
parent 421ea5dbfa
commit 8f2217c2cb

View File

@ -214,7 +214,7 @@
cb();
});
chan.on('ON_INSERT_IMAGE', function(data, cb) {
if (config.events.onIntertImage) {
if (config.events.onInsertImage) {
config.events.onInsertImage(data, cb);
} else { cb(); }
});
@ -362,5 +362,3 @@
window.CryptPadAPI = factory();
}
}());