]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Partially backport #32217 (#32225)
authorRohit Sharma <rohit2sharma95@gmail.com>
Wed, 25 Nov 2020 07:35:36 +0000 (13:05 +0530)
committerGitHub <noreply@github.com>
Wed, 25 Nov 2020 07:35:36 +0000 (09:35 +0200)
commit8e59752ee1f815bbc30a06465b8d19de35a76c9d
tree00d0482754b708f20a2f02b5dde06f400c248fa8
parent22168e9b1507e2cab2791cc119f0325eef5fa290
Partially backport #32217 (#32225)

Remove unnecessary `_getCustomClass` method.

`customClass` will be in the configuration already, even if it is provided in the data attributes, and jQuery's [`addClass()`](https://api.jquery.com/addclass/) method will handle it, either `this.config.customClass` is a function or a class name (even if it is a blank string).

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
js/src/tooltip.js