1
0
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:
zxj96
2019-04-24 15:16:26 +08:00
parent 0c4dea01c5
commit 813a702ab5
2 changed files with 6 additions and 6 deletions

View File

@@ -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();
}
}