mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Fix image import from Nextcloud
This commit is contained in:
parent
421ea5dbfa
commit
8f2217c2cb
@ -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();
|
||||
}
|
||||
}());
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user