mirror of
https://github.com/Prowlarr/Prowlarr
synced 2025-12-06 08:34:28 +01:00
Fix typo botton to bottom
This commit is contained in:
parent
4b8906ea62
commit
e2e65627ee
2 changed files with 2 additions and 2 deletions
|
|
@ -104,7 +104,7 @@ class AutoSuggestInput extends Component {
|
|||
|
||||
const windowHeight = window.innerHeight;
|
||||
|
||||
if ((/^botton/).test(data.placement)) {
|
||||
if ((/^bottom/).test(data.placement)) {
|
||||
data.styles.maxHeight = windowHeight - bottom;
|
||||
} else {
|
||||
data.styles.maxHeight = top;
|
||||
|
|
|
|||
|
|
@ -144,7 +144,7 @@ class EnhancedSelectInput extends Component {
|
|||
|
||||
const windowHeight = window.innerHeight;
|
||||
|
||||
if ((/^botton/).test(data.placement)) {
|
||||
if ((/^bottom/).test(data.placement)) {
|
||||
data.styles.maxHeight = windowHeight - bottom;
|
||||
} else {
|
||||
data.styles.maxHeight = top;
|
||||
|
|
|
|||
Loading…
Reference in a new issue