]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
collapse: don't rely on implicit conversion (#30566)
authorXhmikosR <xhmikosr@gmail.com>
Fri, 17 Apr 2020 12:09:51 +0000 (15:09 +0300)
committerGitHub <noreply@github.com>
Fri, 17 Apr 2020 12:09:51 +0000 (15:09 +0300)
commit8547ab149a9406937c0ec4f0c7864a8884b63d64
treef28bd2a9b345af810e613b4cf144b43c4824e38a
parent6b5f055a7deba265390d05c8f949c4f870dde3ec
collapse: don't rely on implicit conversion (#30566)

`config` can be an `Object` and we only need to test for `hide` or `show` if it's a `String`
js/src/collapse.js