mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-29 08:52:25 +00:00
Fix comment modal current video handling
This commit is contained in:
1 parent
1f47548bb8
commit
aee8bd44ae
2 files changed
+57
-2
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user