mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-05-09 21:04:42 +00:00
dropdown.js: Use more straightforward phrasing for index lower bound check
[skip sauce] [skip validator]
This commit is contained in:
parent
74ddd041b5
commit
31ca64232d
1 changed files with 1 additions and 1 deletions
|
|
@ -250,7 +250,7 @@ const Dropdown = (($) => {
|
||||||
index++
|
index++
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!~index) {
|
if (index < 0) {
|
||||||
index = 0
|
index = 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue