mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-25 06:33:48 +00:00
[dir view] file comment: fix
This commit is contained in:
@@ -118,7 +118,7 @@ define([
|
||||
if ($('#dirent-details').css('right') == '0px') { // after `#dirent-details` is shown
|
||||
this.viewDetails();
|
||||
}
|
||||
if ($('#file-comments').css('right') == '0px') {
|
||||
if (this.model.get('is_file') && $('#file-comments').css('right') == '0px') {
|
||||
this.viewFileComments();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user