Fix comment modal current video handling

This commit is contained in:
thePR0M3TH3AN committed 2025-10-29 22:38:49 -04:00
1 parent 1f47548bb8
commit aee8bd44ae
2 files changed
+57 -2

No files matched your search

+1 -2
View File
@@ -121,6 +121,7 @@ export default class VideoModalCommentController {
return;
}
this.dispose({ resetUi: false });
this.currentVideo = video;
this.videoModal.setCommentSectionCallbacks?.({
@@ -132,8 +133,6 @@ export default class VideoModalCommentController {
return;
}
this.dispose({ resetUi: false });
this.videoModal.hideCommentsDisabledMessage?.();
if (video.enableComments === false) {