0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

Comply with consistent-return ESLint rule

This commit is contained in:
Chris Rebert 2016-05-31 00:45:32 -07:00
parent 0efec1a3db
commit c4add0c2f3
2 changed files with 2 additions and 0 deletions

View File

@ -140,6 +140,7 @@ const ScrollSpy = (($) => {
targetSelector
]
}
return null
})
.filter((item) => item)
.sort((a, b) => a[0] - b[0])

View File

@ -42,6 +42,7 @@ const Util = (($) => {
if ($(event.target).is(this)) {
return event.handleObj.handler.apply(this, arguments)
}
return undefined
}
}
}