Revert "Fix typo botton to bottom"

This reverts commit e2e65627ee.
This commit is contained in:
Bogdan
2023-06-20 05:20:26 +03:00
parent 9a4c23797a
commit e60fe05ee0
2 changed files with 2 additions and 2 deletions

View File

@@ -104,7 +104,7 @@ class AutoSuggestInput extends Component {
const windowHeight = window.innerHeight; const windowHeight = window.innerHeight;
if ((/^bottom/).test(data.placement)) { if ((/^botton/).test(data.placement)) {
data.styles.maxHeight = windowHeight - bottom; data.styles.maxHeight = windowHeight - bottom;
} else { } else {
data.styles.maxHeight = top; data.styles.maxHeight = top;

View File

@@ -144,7 +144,7 @@ class EnhancedSelectInput extends Component {
const windowHeight = window.innerHeight; const windowHeight = window.innerHeight;
if ((/^bottom/).test(data.placement)) { if ((/^botton/).test(data.placement)) {
data.styles.maxHeight = windowHeight - bottom; data.styles.maxHeight = windowHeight - bottom;
} else { } else {
data.styles.maxHeight = top; data.styles.maxHeight = top;