mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 15:38:15 +00:00
modify function name
This commit is contained in:
@@ -85,7 +85,7 @@ const propTypes = {
|
||||
showDirentDetail: PropTypes.func.isRequired,
|
||||
onDeleteRepoTag: PropTypes.func.isRequired,
|
||||
updateDetail: PropTypes.bool.isRequired,
|
||||
onPageScroll: PropTypes.func.isRequired,
|
||||
onListContainerScroll: PropTypes.func.isRequired,
|
||||
};
|
||||
|
||||
class LibContentContainer extends React.Component {
|
||||
@@ -142,7 +142,7 @@ class LibContentContainer extends React.Component {
|
||||
onItemsScroll = (e) => {
|
||||
let target = e.target;
|
||||
if (target.scrollTop + document.documentElement.clientHeight - target.offsetTop >= target.scrollHeight) {
|
||||
this.props.onPageScroll();
|
||||
this.props.onListContainerScroll();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user