comments corrected

This commit is contained in:
or-else
2023-06-10 12:00:16 -07:00
parent 5d664b86cb
commit 414129d968
+2 -2
View File
@@ -208,7 +208,7 @@ function handleImageData(el, data, attr) {
return el; return el;
} }
// Additional processing of image data. // Additional processing of attached video data.
function handleVideoData(el, data, attr) { function handleVideoData(el, data, attr) {
if (!data) { if (!data) {
attr.src = 'img/broken_video.png'; attr.src = 'img/broken_video.png';
@@ -239,7 +239,7 @@ function handleVideoData(el, data, attr) {
} }
el = InlineVideo; el = InlineVideo;
} else { } else {
// Use custom element instead of <img>. // Use custom element instead of <img> or <video>.
el = UploadingImage; el = UploadingImage;
} }