switchery
switchery copied to clipboard
Switch Checked + Modal Bootstrap
Hi,
got a issue with checked switch in a modal window,
computed width is "50px" not "20px" as usual.
I quick-fix it but it's not a solution
if(parseInt(window.getComputedStyle(switcher).width) - jack.offsetWidth > 20){
jack.style.left = '20px';
}