Created by: bassjobsen
Refactoring according the comments on https://github.com/twbs/bootstrap/pull/18104.