Hello,
I am trying to implement a file upload of an image and everything works fine but when I check the Debugger I keep getting error messages like these:
Uncaught TypeError: IntersectionObserver.observe: Argument 1 is not an object.
Here is the code I am using:
$("#banner").fileinput({
maxFileCount: 1,
allowedFileTypes: ["image"],
allowedFileExtensions: ["jpg", "png"],
maxImageWidth: 600,
maxImageHeight: 1920,
resizePreference: 'height',
});I also checked the template page and it seems to have the same problem. Is there a way to fix it?
