2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-15 11:59:39 +03:00

dropdown.js: Use more straightforward phrasing for index lower bound check

[skip sauce]
[skip validator]
This commit is contained in:
Chris Rebert
2015-11-30 23:59:37 -08:00
parent 74ddd041b5
commit 31ca64232d
+1 -1
View File
@@ -250,7 +250,7 @@ const Dropdown = (($) => {
index++
}
if (!~index) {
if (index < 0) {
index = 0
}