Commit 31ca6423 authored by Chris Rebert's avatar Chris Rebert
Browse files

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

[skip sauce]
[skip validator]
parent 74ddd041
Showing with 1 addition and 1 deletion
+1 -1
......@@ -250,7 +250,7 @@ const Dropdown = (($) => {
index++
}
if (!~index) {
if (index < 0) {
index = 0
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment