$().button('toggle') not working in 4.4.1
Created by: dkwebtec
$().button('toggle')
not working in 4.4.1, but working fine in 4.3.1
<div class="btn-group-toggle" data-toggle="buttons">
<label id="my-switch" class="btn btn-lg btn-light font-weight-bold ml-2 text-nowrap">
<input type="checkbox" autocomplete="off" value="1"><span class="check">✓</span> <i class="far fa-clipboard"></i> <span class="d-none d-lg-inline">My</span>
</label>
</div>
$("#my-switch").button('toggle');
4.4.1 https://codepen.io/DK568/pen/MWYxWMO
4.3.1 https://codepen.io/DK568/pen/ExaMaxd
the difference is that button is not checked by jquery