mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-25 14:50:29 +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
|
if ($('#dirent-details').css('right') == '0px') { // after `#dirent-details` is shown
|
||||||
this.viewDetails();
|
this.viewDetails();
|
||||||
}
|
}
|
||||||
if ($('#file-comments').css('right') == '0px') {
|
if (this.model.get('is_file') && $('#file-comments').css('right') == '0px') {
|
||||||
this.viewFileComments();
|
this.viewFileComments();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user