PLT-3842 - Fixing scrolling issue on account/team settings modal (#3819)

Этот коммит содержится в:
Asaad Mahmood
2016-08-18 19:09:33 +05:00
коммит произвёл enahum
родитель efb060a336
Коммит e5a3e55737
6 изменённых файлов: 18 добавлений и 6 удалений

Просмотреть файл

@@ -58,7 +58,9 @@ class TeamSettingsModal extends React.Component {
}
}
updateSection(section) {
$('.settings-modal .modal-body').scrollTop(0).perfectScrollbar('update');
if ($('.section-max').length) {
$('.settings-modal .modal-body').scrollTop(0).perfectScrollbar('update');
}
this.setState({activeSection: section});
}
render() {