bootstrap
bootstrap copied to clipboard
call resset() do not remove 'collapse' class in collapse plugin
line 90: this.$element[size !== null ? 'addClass' : 'removeClass']('collapse') in bootstrap-collapse.js
when it call reset() ,the value of size is 'undefined' which isn't equal to 'null'.that will return addClass which i think is uncorrect. So I suggest use undefined instead of null here.
Or like I said in #4842, just use size != null which matches both null and undefined.
Closing as dupe of #4842 then.